@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateApplicationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateApplicationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateApplicationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateApplicationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an
application.
|
Definition |
getDefinition()
The application definition for this application.
|
String |
getDescription()
The description of the application.
|
String |
getEngineType()
The type of the target platform for this application.
|
String |
getKmsKeyId()
The identifier of a customer managed key.
|
String |
getName()
The unique identifier of the application.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services
resources that are not part of the application or are in a different Amazon Web Services account.
|
Map<String,String> |
getTags()
A list of tags to apply to the application.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an
application.
|
void |
setDefinition(Definition definition)
The application definition for this application.
|
void |
setDescription(String description)
The description of the application.
|
void |
setEngineType(String engineType)
The type of the target platform for this application.
|
void |
setKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
|
void |
setName(String name)
The unique identifier of the application.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services
resources that are not part of the application or are in a different Amazon Web Services account.
|
void |
setTags(Map<String,String> tags)
A list of tags to apply to the application.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an
application.
|
CreateApplicationRequest |
withDefinition(Definition definition)
The application definition for this application.
|
CreateApplicationRequest |
withDescription(String description)
The description of the application.
|
CreateApplicationRequest |
withEngineType(EngineType engineType)
The type of the target platform for this application.
|
CreateApplicationRequest |
withEngineType(String engineType)
The type of the target platform for this application.
|
CreateApplicationRequest |
withKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
|
CreateApplicationRequest |
withName(String name)
The unique identifier of the application.
|
CreateApplicationRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services
resources that are not part of the application or are in a different Amazon Web Services account.
|
CreateApplicationRequest |
withTags(Map<String,String> tags)
A list of tags to apply to the application.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
clientToken
- Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create
an application. The service generates the clientToken when the API call is triggered. The token expires
after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the
same response. The service also handles deleting the clientToken after it expires.public String getClientToken()
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
public CreateApplicationRequest withClientToken(String clientToken)
Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
clientToken
- Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create
an application. The service generates the clientToken when the API call is triggered. The token expires
after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the
same response. The service also handles deleting the clientToken after it expires.public void setDefinition(Definition definition)
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
definition
- The application definition for this application. You can specify either inline JSON or an S3 bucket
location.public Definition getDefinition()
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
public CreateApplicationRequest withDefinition(Definition definition)
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
definition
- The application definition for this application. You can specify either inline JSON or an S3 bucket
location.public void setDescription(String description)
The description of the application.
description
- The description of the application.public String getDescription()
The description of the application.
public CreateApplicationRequest withDescription(String description)
The description of the application.
description
- The description of the application.public void setEngineType(String engineType)
The type of the target platform for this application.
engineType
- The type of the target platform for this application.EngineType
public String getEngineType()
The type of the target platform for this application.
EngineType
public CreateApplicationRequest withEngineType(String engineType)
The type of the target platform for this application.
engineType
- The type of the target platform for this application.EngineType
public CreateApplicationRequest withEngineType(EngineType engineType)
The type of the target platform for this application.
engineType
- The type of the target platform for this application.EngineType
public void setKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
kmsKeyId
- The identifier of a customer managed key.public String getKmsKeyId()
The identifier of a customer managed key.
public CreateApplicationRequest withKmsKeyId(String kmsKeyId)
The identifier of a customer managed key.
kmsKeyId
- The identifier of a customer managed key.public void setName(String name)
The unique identifier of the application.
name
- The unique identifier of the application.public String getName()
The unique identifier of the application.
public CreateApplicationRequest withName(String name)
The unique identifier of the application.
name
- The unique identifier of the application.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.
roleArn
- The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web
Services resources that are not part of the application or are in a different Amazon Web Services account.public String getRoleArn()
The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.
public CreateApplicationRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web Services resources that are not part of the application or are in a different Amazon Web Services account.
roleArn
- The Amazon Resource Name (ARN) that identifies a role that the application uses to access Amazon Web
Services resources that are not part of the application or are in a different Amazon Web Services account.public Map<String,String> getTags()
A list of tags to apply to the application.
public void setTags(Map<String,String> tags)
A list of tags to apply to the application.
tags
- A list of tags to apply to the application.public CreateApplicationRequest withTags(Map<String,String> tags)
A list of tags to apply to the application.
tags
- A list of tags to apply to the application.public CreateApplicationRequest addTagsEntry(String key, String value)
public CreateApplicationRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()