|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CancelBundleTaskRequest
public class CancelBundleTaskRequest
Container for the parameters to the 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.
AmazonEC2.cancelBundleTask(CancelBundleTaskRequest)
Constructor Summary | |
---|---|
CancelBundleTaskRequest()
Default constructor for a new CancelBundleTaskRequest object. |
|
CancelBundleTaskRequest(String bundleId)
Constructs a new CancelBundleTaskRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getBundleId()
The ID of the bundle task to cancel. |
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CancelBundleTaskRequest()
public CancelBundleTaskRequest(String bundleId)
bundleId
- The ID of the bundle task to cancel.Method Detail |
---|
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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |