@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()
Describes the application.
|
ApplicationResourceLifecycleConfig |
getResourceLifecycleConfig()
Specify 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)
Describes the application.
|
void |
setResourceLifecycleConfig(ApplicationResourceLifecycleConfig resourceLifecycleConfig)
Specify 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)
Describes the application.
|
CreateApplicationRequest |
withResourceLifecycleConfig(ApplicationResourceLifecycleConfig resourceLifecycleConfig)
Specify 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.
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)
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 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(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(String description)
Describes the application.
description
- Describes the application.public String getDescription()
Describes the application.
public CreateApplicationRequest withDescription(String description)
Describes the application.
description
- Describes the application.public void setResourceLifecycleConfig(ApplicationResourceLifecycleConfig resourceLifecycleConfig)
Specify an application resource lifecycle configuration to prevent your application from accumulating too many versions.
resourceLifecycleConfig
- Specify an application resource lifecycle configuration to prevent your application from accumulating too
many versions.public ApplicationResourceLifecycleConfig getResourceLifecycleConfig()
Specify an application resource lifecycle configuration to prevent your application from accumulating too many versions.
public CreateApplicationRequest withResourceLifecycleConfig(ApplicationResourceLifecycleConfig resourceLifecycleConfig)
Specify an application resource lifecycle configuration to prevent your application from accumulating too many versions.
resourceLifecycleConfig
- Specify 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.