public class CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateApplication operation.
Creates an application that has one configuration template named
default and no application versions.
NOOP| Constructor and Description |
|---|
CreateApplicationRequest()
Default constructor for a new CreateApplicationRequest object.
|
CreateApplicationRequest(String applicationName)
Constructs a new CreateApplicationRequest object.
|
| Modifier and Type | Method and 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.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic CreateApplicationRequest()
public CreateApplicationRequest(String applicationName)
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.
public String getApplicationName()
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
Constraint: This name must be unique
within your account. If the specified name already exists, the action
returns an InvalidParameterValue error.
public void setApplicationName(String applicationName)
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
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.
public CreateApplicationRequest withApplicationName(String applicationName)
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
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.
public String getDescription()
Constraints:
Length: 0 - 200
public void setDescription(String description)
Constraints:
Length: 0 - 200
description - Describes the application.public CreateApplicationRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 200
description - Describes the application.public String toString()
toString in class ObjectObject.toString()public CreateApplicationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.