public class DeleteApplicationVersionRequest extends AmazonWebServiceRequest implements Serializable
DeleteApplicationVersion operation.
 Deletes the specified version from the specified application.
NOTE:You cannot delete an application version that is associated with a running environment.
NOOP| Constructor and Description | 
|---|
| DeleteApplicationVersionRequest()Default constructor for a new DeleteApplicationVersionRequest object. | 
| DeleteApplicationVersionRequest(String applicationName,
                               String versionLabel)Constructs a new DeleteApplicationVersionRequest object. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| String | getApplicationName()The name of the application to delete releases from. | 
| Boolean | getDeleteSourceBundle()Indicates whether to delete the associated source bundle from Amazon
 S3:    true: An attempt is made to delete the
 associated Amazon S3 source bundle specified at time of creation. | 
| String | getVersionLabel()The label of the version to delete. | 
| int | hashCode() | 
| Boolean | isDeleteSourceBundle()Indicates whether to delete the associated source bundle from Amazon
 S3:    true: An attempt is made to delete the
 associated Amazon S3 source bundle specified at time of creation. | 
| void | setApplicationName(String applicationName)The name of the application to delete releases from. | 
| void | setDeleteSourceBundle(Boolean deleteSourceBundle)Indicates whether to delete the associated source bundle from Amazon
 S3:    true: An attempt is made to delete the
 associated Amazon S3 source bundle specified at time of creation. | 
| 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 delete releases from. | 
| DeleteApplicationVersionRequest | withDeleteSourceBundle(Boolean deleteSourceBundle)Indicates whether to delete the associated source bundle from Amazon
 S3:    true: An attempt is made to delete the
 associated Amazon S3 source bundle specified at time of creation. | 
| DeleteApplicationVersionRequest | withVersionLabel(String versionLabel)The label of the version to delete. | 
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DeleteApplicationVersionRequest()
public DeleteApplicationVersionRequest(String applicationName, String versionLabel)
applicationName - The name of the application to delete releases
 from.versionLabel - The label of the version to delete.public String getApplicationName()
 Constraints:
 Length: 1 - 100
public void setApplicationName(String applicationName)
 Constraints:
 Length: 1 - 100
applicationName - The name of the application to delete releases from.public DeleteApplicationVersionRequest withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 100
applicationName - The name of the application to delete releases from.public String getVersionLabel()
 Constraints:
 Length: 1 - 100
public void setVersionLabel(String versionLabel)
 Constraints:
 Length: 1 - 100
versionLabel - The label of the version to delete.public DeleteApplicationVersionRequest withVersionLabel(String versionLabel)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 100
versionLabel - The label of the version to delete.public Boolean isDeleteSourceBundle()
true: An attempt is made to delete the
 associated Amazon S3 source bundle specified at time of creation.
 false: No action is taken on the Amazon S3
 source bundle specified at time of creation.  Valid
 Values: true | false
true: An attempt is made to delete the
         associated Amazon S3 source bundle specified at time of creation.
         false: No action is taken on the Amazon S3
         source bundle specified at time of creation.  Valid
         Values: true | false
public void setDeleteSourceBundle(Boolean deleteSourceBundle)
true: An attempt is made to delete the
 associated Amazon S3 source bundle specified at time of creation.
 false: No action is taken on the Amazon S3
 source bundle specified at time of creation.  Valid
 Values: true | false
deleteSourceBundle - Indicates whether to delete the associated source bundle from Amazon
         S3: true: An attempt is made to delete the
         associated Amazon S3 source bundle specified at time of creation.
         false: No action is taken on the Amazon S3
         source bundle specified at time of creation.  Valid
         Values: true | false
public DeleteApplicationVersionRequest withDeleteSourceBundle(Boolean deleteSourceBundle)
true: An attempt is made to delete the
 associated Amazon S3 source bundle specified at time of creation.
 false: No action is taken on the Amazon S3
 source bundle specified at time of creation.  Valid
 Values: true | false
 
Returns a reference to this object so that method calls can be chained together.
deleteSourceBundle - Indicates whether to delete the associated source bundle from Amazon
         S3: true: An attempt is made to delete the
         associated Amazon S3 source bundle specified at time of creation.
         false: No action is taken on the Amazon S3
         source bundle specified at time of creation.  Valid
         Values: true | false
public Boolean getDeleteSourceBundle()
true: An attempt is made to delete the
 associated Amazon S3 source bundle specified at time of creation.
 false: No action is taken on the Amazon S3
 source bundle specified at time of creation.  Valid
 Values: true | false
true: An attempt is made to delete the
         associated Amazon S3 source bundle specified at time of creation.
         false: No action is taken on the Amazon S3
         source bundle specified at time of creation.  Valid
         Values: true | false
public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.