public class DeleteApplicationVersionRequest extends AmazonWebServiceRequest implements java.io.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.
| コンストラクタと説明 |
|---|
DeleteApplicationVersionRequest()
Default constructor for a new DeleteApplicationVersionRequest object.
|
DeleteApplicationVersionRequest(java.lang.String applicationName,
java.lang.String versionLabel)
Constructs a new DeleteApplicationVersionRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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:
true: An attempt is made to delete the
associated Amazon S3 source bundle specified at time of creation. |
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:
true: An attempt is made to delete the
associated Amazon S3 source bundle specified at time of creation. |
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:
true: An attempt is made to delete the
associated Amazon S3 source bundle specified at time of creation. |
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:
true: An attempt is made to delete the
associated Amazon S3 source bundle specified at time of creation. |
DeleteApplicationVersionRequest |
withVersionLabel(java.lang.String versionLabel)
The label of the version to delete.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic 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 java.lang.String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(java.lang.String applicationName)
Constraints:
Length: 1 - 100
applicationName - The name of the application to delete releases from.public DeleteApplicationVersionRequest withApplicationName(java.lang.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 java.lang.String getVersionLabel()
Constraints:
Length: 1 - 100
public void setVersionLabel(java.lang.String versionLabel)
Constraints:
Length: 1 - 100
versionLabel - The label of the version to delete.public DeleteApplicationVersionRequest withVersionLabel(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object