Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk.model
Class CreateApplicationRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticbeanstalk.model.CreateApplicationRequest

public class CreateApplicationRequest
extends AmazonWebServiceRequest

Container for the parameters to the CreateApplication operation.

Creates an application that has one configuration template named default and no application versions.

NOTE: The default configuration template is for a 32-bit version of the Amazon Linux operating system running the Tomcat 6 application container.

See Also:
AWSElasticBeanstalk.createApplication(CreateApplicationRequest)

Constructor Summary
CreateApplicationRequest()
          Default constructor for a new CreateApplicationRequest object.
CreateApplicationRequest(String applicationName)
          Constructs a new CreateApplicationRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getApplicationName()
          The name of the application.
 String getDescription()
          Describes the application.
 int hashCode()
           
 void setApplicationName(String applicationName)
          The name of the application.
 void setDescription(String description)
          Describes the application.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateApplicationRequest withApplicationName(String applicationName)
          The name of the application.
 CreateApplicationRequest withDescription(String description)
          Describes the application.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateApplicationRequest

public CreateApplicationRequest()
Default constructor for a new CreateApplicationRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


CreateApplicationRequest

public CreateApplicationRequest(String applicationName)
Constructs a new CreateApplicationRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
applicationName - The name of the application.

Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.

Method Detail

getApplicationName

public String getApplicationName()
The name of the application.

Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.

Constraints:
Length: 1 - 100

Returns:
The name of the application.

Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.


setApplicationName

public void setApplicationName(String applicationName)
The name of the application.

Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.

Constraints:
Length: 1 - 100

Parameters:
applicationName - The name of the application.

Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.


withApplicationName

public CreateApplicationRequest withApplicationName(String applicationName)
The name of the application.

Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 100

Parameters:
applicationName - The name of the application.

Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.

Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
Describes the application.

Constraints:
Length: 0 - 200

Returns:
Describes the application.

setDescription

public void setDescription(String description)
Describes the application.

Constraints:
Length: 0 - 200

Parameters:
description - Describes the application.

withDescription

public CreateApplicationRequest withDescription(String description)
Describes the application.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 200

Parameters:
description - Describes the application.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.