public class DeleteApplicationVersionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to delete an application version.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
The name of the application to delete releases from.
|
private java.lang.Boolean |
deleteSourceBundle
Indicates whether to delete the associated source bundle from Amazon S3:
|
private java.lang.String |
versionLabel
The label of the version to delete.
|
NOOP
Constructor and Description |
---|
DeleteApplicationVersionRequest()
Default constructor for DeleteApplicationVersionRequest object.
|
DeleteApplicationVersionRequest(java.lang.String applicationName,
java.lang.String versionLabel)
Constructs a new DeleteApplicationVersionRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteApplicationVersionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The name of the application to delete releases from.
|
java.lang.Boolean |
getDeleteSourceBundle()
Indicates whether to delete the associated source bundle from Amazon S3:
|
java.lang.String |
getVersionLabel()
The label of the version to delete.
|
int |
hashCode() |
java.lang.Boolean |
isDeleteSourceBundle()
Indicates whether to delete the associated source bundle from Amazon S3:
|
void |
setApplicationName(java.lang.String applicationName)
The name of the application to delete releases from.
|
void |
setDeleteSourceBundle(java.lang.Boolean deleteSourceBundle)
Indicates whether to delete the associated source bundle from Amazon S3:
|
void |
setVersionLabel(java.lang.String versionLabel)
The label of the version to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteApplicationVersionRequest |
withApplicationName(java.lang.String applicationName)
The name of the application to delete releases from.
|
DeleteApplicationVersionRequest |
withDeleteSourceBundle(java.lang.Boolean deleteSourceBundle)
Indicates whether to delete the associated source bundle from Amazon S3:
|
DeleteApplicationVersionRequest |
withVersionLabel(java.lang.String versionLabel)
The label of the version to delete.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String applicationName
The name of the application to delete releases from.
private java.lang.String versionLabel
The label of the version to delete.
private java.lang.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.false
: No action is taken on the Amazon S3 source bundle
specified at time of creation.
Valid Values: true
| false
public DeleteApplicationVersionRequest()
public DeleteApplicationVersionRequest(java.lang.String applicationName, java.lang.String versionLabel)
applicationName
- The name of the application to delete releases from.versionLabel
- The label of the version to delete.public void setApplicationName(java.lang.String applicationName)
The name of the application to delete releases from.
applicationName
- The name of the application to delete releases from.public java.lang.String getApplicationName()
The name of the application to delete releases from.
public DeleteApplicationVersionRequest withApplicationName(java.lang.String applicationName)
The name of the application to delete releases from.
applicationName
- The name of the application to delete releases from.public void setVersionLabel(java.lang.String versionLabel)
The label of the version to delete.
versionLabel
- The label of the version to delete.public java.lang.String getVersionLabel()
The label of the version to delete.
public DeleteApplicationVersionRequest withVersionLabel(java.lang.String versionLabel)
The label of the version to delete.
versionLabel
- The label of the version to delete.public void setDeleteSourceBundle(java.lang.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.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 java.lang.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.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 DeleteApplicationVersionRequest withDeleteSourceBundle(java.lang.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.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 java.lang.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.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteApplicationVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()