public class CancelBundleTaskRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<CancelBundleTaskRequest>
Contains the parameters for CancelBundleTask.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bundleId
The ID of the bundle task.
|
NOOP
Constructor and Description |
---|
CancelBundleTaskRequest()
Default constructor for CancelBundleTaskRequest object.
|
CancelBundleTaskRequest(java.lang.String bundleId)
Constructs a new CancelBundleTaskRequest object.
|
Modifier and Type | Method and Description |
---|---|
CancelBundleTaskRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CancelBundleTaskRequest()
public CancelBundleTaskRequest(java.lang.String bundleId)
bundleId
- The ID of the bundle task.public void setBundleId(java.lang.String bundleId)
The ID of the bundle task.
bundleId
- The ID of the bundle task.public java.lang.String getBundleId()
The ID of the bundle task.
public CancelBundleTaskRequest withBundleId(java.lang.String bundleId)
The ID of the bundle task.
bundleId
- The ID of the bundle task.public Request<CancelBundleTaskRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CancelBundleTaskRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CancelBundleTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()