Class CreateApplicationRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticbeanstalk.model.CreateApplicationRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to create an application.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateApplicationRequest()
Default constructor for CreateApplicationRequest object.CreateApplicationRequest(String applicationName)
Constructs a new CreateApplicationRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateApplicationRequest
clone()
Creates a shallow clone of this request.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
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
CreateApplicationRequest
public CreateApplicationRequest()
Default constructor for CreateApplicationRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the 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
-
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.- 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.
-
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.- 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.
-
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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
Describes the application.
- Parameters:
description
- Describes the application.
-
getDescription
public String getDescription()
Describes the application.
- Returns:
- Describes the application.
-
withDescription
public CreateApplicationRequest withDescription(String description)
Describes the application.
- Parameters:
description
- Describes the application.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateApplicationRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-