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>, Serializable

public class CancelBundleTaskRequest
extends AmazonWebServiceRequest
implements 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(String bundleId)
          Constructs a new CancelBundleTaskRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getBundleId()
          The ID of the bundle task.
 Request<CancelBundleTaskRequest> getDryRunRequest()
          This method is intended for internal use only.
 int hashCode()
           
 void setBundleId(String bundleId)
          The ID of the bundle task.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CancelBundleTaskRequest withBundleId(String bundleId)
          The ID of the bundle task.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, 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(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 String getBundleId()
The ID of the bundle task.

Returns:
The ID of the bundle task.

setBundleId

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

Parameters:
bundleId - The ID of the bundle task.

withBundleId

public CancelBundleTaskRequest withBundleId(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 String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.