public class CancelBundleTaskRequest extends AmazonWebServiceRequest implements java.io.Serializable
CancelBundleTask operation.
CancelBundleTask operation cancels a pending or in-progress bundling task. This is an asynchronous call and it make take a while for the task to be canceled. If a task is canceled while it is storing items, there may be parts of the incomplete AMI stored in S3. It is up to the caller to clean up these parts from S3.
| コンストラクタと説明 |
|---|
CancelBundleTaskRequest()
Default constructor for a new CancelBundleTaskRequest object.
|
CancelBundleTaskRequest(java.lang.String bundleId)
Constructs a new CancelBundleTaskRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBundleId()
The ID of the bundle task to cancel.
|
int |
hashCode() |
void |
setBundleId(java.lang.String bundleId)
The ID of the bundle task to cancel.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelBundleTaskRequest |
withBundleId(java.lang.String bundleId)
The ID of the bundle task to cancel.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic CancelBundleTaskRequest()
public CancelBundleTaskRequest(java.lang.String bundleId)
bundleId - The ID of the bundle task to cancel.public java.lang.String getBundleId()
public void setBundleId(java.lang.String bundleId)
bundleId - The ID of the bundle task to cancel.public CancelBundleTaskRequest withBundleId(java.lang.String bundleId)
Returns a reference to this object so that method calls can be chained together.
bundleId - The ID of the bundle task to cancel.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