@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateApplication
operation.
NOOP
Constructor and Description |
---|
CreateApplicationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateApplicationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of the application.
|
String |
getComputePlatform()
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
List<Tag> |
getTags()
The metadata that you apply to CodeDeploy applications to help you organize and categorize them.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of the application.
|
void |
setComputePlatform(String computePlatform)
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
void |
setTags(Collection<Tag> tags)
The metadata that you apply to CodeDeploy applications to help you organize and categorize them.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationRequest |
withApplicationName(String applicationName)
The name of the application.
|
CreateApplicationRequest |
withComputePlatform(ComputePlatform computePlatform)
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
CreateApplicationRequest |
withComputePlatform(String computePlatform)
The destination platform type for the deployment (
Lambda , Server , or ECS ). |
CreateApplicationRequest |
withTags(Collection<Tag> tags)
The metadata that you apply to CodeDeploy applications to help you organize and categorize them.
|
CreateApplicationRequest |
withTags(Tag... tags)
The metadata that you apply to CodeDeploy applications to help you organize and categorize them.
|
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 setApplicationName(String applicationName)
The name of the application. This name must be unique with the applicable user or Amazon Web Services account.
applicationName
- The name of the application. This name must be unique with the applicable user or Amazon Web Services
account.public String getApplicationName()
The name of the application. This name must be unique with the applicable user or Amazon Web Services account.
public CreateApplicationRequest withApplicationName(String applicationName)
The name of the application. This name must be unique with the applicable user or Amazon Web Services account.
applicationName
- The name of the application. This name must be unique with the applicable user or Amazon Web Services
account.public void setComputePlatform(String computePlatform)
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
computePlatform
- The destination platform type for the deployment (Lambda
, Server
, or
ECS
).ComputePlatform
public String getComputePlatform()
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
Lambda
, Server
, or
ECS
).ComputePlatform
public CreateApplicationRequest withComputePlatform(String computePlatform)
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
computePlatform
- The destination platform type for the deployment (Lambda
, Server
, or
ECS
).ComputePlatform
public CreateApplicationRequest withComputePlatform(ComputePlatform computePlatform)
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
computePlatform
- The destination platform type for the deployment (Lambda
, Server
, or
ECS
).ComputePlatform
public List<Tag> getTags()
The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
public void setTags(Collection<Tag> tags)
The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
tags
- The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag
consists of a key and an optional value, both of which you define.public CreateApplicationRequest withTags(Tag... tags)
The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag
consists of a key and an optional value, both of which you define.public CreateApplicationRequest withTags(Collection<Tag> tags)
The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define.
tags
- The metadata that you apply to CodeDeploy applications to help you organize and categorize them. Each tag
consists of a key and an optional value, both of which you define.public String toString()
toString
in class Object
Object.toString()
public CreateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()