@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteApplicationVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to delete an application version.
NOOP
Constructor and Description |
---|
DeleteApplicationVersionRequest()
Default constructor for DeleteApplicationVersionRequest object.
|
DeleteApplicationVersionRequest(String applicationName,
String versionLabel)
Constructs a new DeleteApplicationVersionRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteApplicationVersionRequest |
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 to which the version belongs.
|
Boolean |
getDeleteSourceBundle()
Set to
true to delete the source bundle from your storage bucket. |
String |
getVersionLabel()
The label of the version to delete.
|
int |
hashCode() |
Boolean |
isDeleteSourceBundle()
Set to
true to delete the source bundle from your storage bucket. |
void |
setApplicationName(String applicationName)
The name of the application to which the version belongs.
|
void |
setDeleteSourceBundle(Boolean deleteSourceBundle)
Set to
true to delete the source bundle from your storage bucket. |
void |
setVersionLabel(String versionLabel)
The label of the version to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteApplicationVersionRequest |
withApplicationName(String applicationName)
The name of the application to which the version belongs.
|
DeleteApplicationVersionRequest |
withDeleteSourceBundle(Boolean deleteSourceBundle)
Set to
true to delete the source bundle from your storage bucket. |
DeleteApplicationVersionRequest |
withVersionLabel(String versionLabel)
The label of the version to delete.
|
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 DeleteApplicationVersionRequest()
public DeleteApplicationVersionRequest(String applicationName, String versionLabel)
applicationName
- The name of the application to which the version belongs.versionLabel
- The label of the version to delete.public void setApplicationName(String applicationName)
The name of the application to which the version belongs.
applicationName
- The name of the application to which the version belongs.public String getApplicationName()
The name of the application to which the version belongs.
public DeleteApplicationVersionRequest withApplicationName(String applicationName)
The name of the application to which the version belongs.
applicationName
- The name of the application to which the version belongs.public void setVersionLabel(String versionLabel)
The label of the version to delete.
versionLabel
- The label of the version to delete.public String getVersionLabel()
The label of the version to delete.
public DeleteApplicationVersionRequest withVersionLabel(String versionLabel)
The label of the version to delete.
versionLabel
- The label of the version to delete.public void setDeleteSourceBundle(Boolean deleteSourceBundle)
Set to true
to delete the source bundle from your storage bucket. Otherwise, the application version
is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.
deleteSourceBundle
- Set to true
to delete the source bundle from your storage bucket. Otherwise, the application
version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.public Boolean getDeleteSourceBundle()
Set to true
to delete the source bundle from your storage bucket. Otherwise, the application version
is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.
true
to delete the source bundle from your storage bucket. Otherwise, the application
version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.public DeleteApplicationVersionRequest withDeleteSourceBundle(Boolean deleteSourceBundle)
Set to true
to delete the source bundle from your storage bucket. Otherwise, the application version
is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.
deleteSourceBundle
- Set to true
to delete the source bundle from your storage bucket. Otherwise, the application
version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.public Boolean isDeleteSourceBundle()
Set to true
to delete the source bundle from your storage bucket. Otherwise, the application version
is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.
true
to delete the source bundle from your storage bucket. Otherwise, the application
version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.public String toString()
toString
in class Object
Object.toString()
public DeleteApplicationVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.