com.amazonaws.services.ec2.model
Class CancelBundleTaskRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CancelBundleTaskRequest
All Implemented Interfaces:
DryRunSupportedRequest<CancelBundleTaskRequest>, java.io.Serializable

public class CancelBundleTaskRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<CancelBundleTaskRequest>

Container for the parameters to the CancelBundleTask operation.

Cancels a bundling operation for an instance store-backed Windows instance.

See Also:
AmazonEC2.cancelBundleTask(CancelBundleTaskRequest), Serialized Form

Constructor Summary
CancelBundleTaskRequest()
          Default constructor for a new CancelBundleTaskRequest object.
CancelBundleTaskRequest(java.lang.String bundleId)
          Constructs a new CancelBundleTaskRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getBundleId()
          The ID of the bundle task.
 Request<CancelBundleTaskRequest> getDryRunRequest()
          This method is intended for internal use only.
 int hashCode()
           
 void setBundleId(java.lang.String bundleId)
          The ID of the bundle task.
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CancelBundleTaskRequest

public CancelBundleTaskRequest()
Default constructor for a new CancelBundleTaskRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


CancelBundleTaskRequest

public CancelBundleTaskRequest(java.lang.String bundleId)
Constructs a new CancelBundleTaskRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
bundleId - The ID of the bundle task.
Method Detail

getBundleId

public java.lang.String getBundleId()
The ID of the bundle task.

Returns:
The ID of the bundle task.

setBundleId

public void setBundleId(java.lang.String bundleId)
The ID of the bundle task.

Parameters:
bundleId - The ID of the bundle task.

withBundleId

public CancelBundleTaskRequest withBundleId(java.lang.String bundleId)
The ID of the bundle task.

Returns a reference to this object so that method calls can be chained together.

Parameters:
bundleId - The ID of the bundle task.
Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<CancelBundleTaskRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<CancelBundleTaskRequest>

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.