public class CancelBundleTaskRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<CancelBundleTaskRequest>
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.
Constructor and Description |
---|
CancelBundleTaskRequest()
Default constructor for a new CancelBundleTaskRequest object.
|
CancelBundleTaskRequest(String bundleId)
Constructs a new CancelBundleTaskRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getBundleId()
The ID of the bundle task to cancel.
|
Request<CancelBundleTaskRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setBundleId(String bundleId)
The ID of the bundle task to cancel.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelBundleTaskRequest |
withBundleId(String bundleId)
The ID of the bundle task to cancel.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public CancelBundleTaskRequest()
public CancelBundleTaskRequest(String bundleId)
bundleId
- The ID of the bundle task to cancel.public String getBundleId()
public void setBundleId(String bundleId)
bundleId
- The ID of the bundle task to cancel.public CancelBundleTaskRequest withBundleId(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 Request<CancelBundleTaskRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CancelBundleTaskRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.