public class CreateApplicationRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to create an application.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
The name of the application.
|
private java.lang.String |
description
Describes the application.
|
NOOP
Constructor and Description |
---|
CreateApplicationRequest()
Default constructor for CreateApplicationRequest object.
|
CreateApplicationRequest(java.lang.String applicationName)
Constructs a new CreateApplicationRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateApplicationRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The name of the application.
|
java.lang.String |
getDescription()
Describes the application.
|
int |
hashCode() |
void |
setApplicationName(java.lang.String applicationName)
The name of the application.
|
void |
setDescription(java.lang.String description)
Describes the application.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateApplicationRequest |
withApplicationName(java.lang.String applicationName)
The name of the application.
|
CreateApplicationRequest |
withDescription(java.lang.String description)
Describes the application.
|
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
private java.lang.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.
private java.lang.String description
Describes the application.
public CreateApplicationRequest()
public CreateApplicationRequest(java.lang.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 void setApplicationName(java.lang.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.
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 java.lang.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.
Constraint: This name must be unique within your account. If the
specified name already exists, the action returns an
InvalidParameterValue
error.
public CreateApplicationRequest withApplicationName(java.lang.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.
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 void setDescription(java.lang.String description)
Describes the application.
description
- Describes the application.public java.lang.String getDescription()
Describes the application.
public CreateApplicationRequest withDescription(java.lang.String description)
Describes the application.
description
- Describes the application.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()