@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to create an application.
NOOP
Constructor and Description |
---|
CreateApplicationRequest()
Default constructor for CreateApplicationRequest object.
|
CreateApplicationRequest(String applicationName)
Constructs a new CreateApplicationRequest object.
|
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 |
getDescription()
Your description of the application.
|
ApplicationResourceLifecycleConfig |
getResourceLifecycleConfig()
Specifies an application resource lifecycle configuration to prevent your application from accumulating too many
versions.
|
List<Tag> |
getTags()
Specifies the tags applied to the application.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of the application.
|
void |
setDescription(String description)
Your description of the application.
|
void |
setResourceLifecycleConfig(ApplicationResourceLifecycleConfig resourceLifecycleConfig)
Specifies an application resource lifecycle configuration to prevent your application from accumulating too many
versions.
|
void |
setTags(Collection<Tag> tags)
Specifies the tags applied to the application.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationRequest |
withApplicationName(String applicationName)
The name of the application.
|
CreateApplicationRequest |
withDescription(String description)
Your description of the application.
|
CreateApplicationRequest |
withResourceLifecycleConfig(ApplicationResourceLifecycleConfig resourceLifecycleConfig)
Specifies an application resource lifecycle configuration to prevent your application from accumulating too many
versions.
|
CreateApplicationRequest |
withTags(Collection<Tag> tags)
Specifies the tags applied to the application.
|
CreateApplicationRequest |
withTags(Tag... tags)
Specifies the tags applied 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 CreateApplicationRequest()
public CreateApplicationRequest(String applicationName)
applicationName
- The name of the application. Must be unique within your account.public void setApplicationName(String applicationName)
The name of the application. Must be unique within your account.
applicationName
- The name of the application. Must be unique within your account.public String getApplicationName()
The name of the application. Must be unique within your account.
public CreateApplicationRequest withApplicationName(String applicationName)
The name of the application. Must be unique within your account.
applicationName
- The name of the application. Must be unique within your account.public void setDescription(String description)
Your description of the application.
description
- Your description of the application.public String getDescription()
Your description of the application.
public CreateApplicationRequest withDescription(String description)
Your description of the application.
description
- Your description of the application.public void setResourceLifecycleConfig(ApplicationResourceLifecycleConfig resourceLifecycleConfig)
Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
resourceLifecycleConfig
- Specifies an application resource lifecycle configuration to prevent your application from accumulating
too many versions.public ApplicationResourceLifecycleConfig getResourceLifecycleConfig()
Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
public CreateApplicationRequest withResourceLifecycleConfig(ApplicationResourceLifecycleConfig resourceLifecycleConfig)
Specifies an application resource lifecycle configuration to prevent your application from accumulating too many versions.
resourceLifecycleConfig
- Specifies an application resource lifecycle configuration to prevent your application from accumulating
too many versions.public List<Tag> getTags()
Specifies the tags applied to the application.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
public void setTags(Collection<Tag> tags)
Specifies the tags applied to the application.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
tags
- Specifies the tags applied to the application.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
public CreateApplicationRequest withTags(Tag... tags)
Specifies the tags applied to the application.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
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
- Specifies the tags applied to the application.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
public CreateApplicationRequest withTags(Collection<Tag> tags)
Specifies the tags applied to the application.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
tags
- Specifies the tags applied to the application.
Elastic Beanstalk applies these tags only to the application. Environments that you create in the application don't inherit the tags.
public String toString()
toString
in class Object
Object.toString()
public CreateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()