public class CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable
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 |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 Object
Object.toString()
Copyright © 2014. All rights reserved.