public class CancelConversionTaskRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<CancelConversionTaskRequest>
Contains the parameters for CancelConversionTask.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
conversionTaskId
The ID of the conversion task.
|
private java.lang.String |
reasonMessage
The reason for canceling the conversion task.
|
NOOP
Constructor and Description |
---|
CancelConversionTaskRequest() |
Modifier and Type | Method and Description |
---|---|
CancelConversionTaskRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConversionTaskId()
The ID of the conversion task.
|
Request<CancelConversionTaskRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getReasonMessage()
The reason for canceling the conversion task.
|
int |
hashCode() |
void |
setConversionTaskId(java.lang.String conversionTaskId)
The ID of the conversion task.
|
void |
setReasonMessage(java.lang.String reasonMessage)
The reason for canceling the conversion task.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelConversionTaskRequest |
withConversionTaskId(java.lang.String conversionTaskId)
The ID of the conversion task.
|
CancelConversionTaskRequest |
withReasonMessage(java.lang.String reasonMessage)
The reason for canceling the conversion 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
private java.lang.String conversionTaskId
The ID of the conversion task.
private java.lang.String reasonMessage
The reason for canceling the conversion task.
public void setConversionTaskId(java.lang.String conversionTaskId)
The ID of the conversion task.
conversionTaskId
- The ID of the conversion task.public java.lang.String getConversionTaskId()
The ID of the conversion task.
public CancelConversionTaskRequest withConversionTaskId(java.lang.String conversionTaskId)
The ID of the conversion task.
conversionTaskId
- The ID of the conversion task.public void setReasonMessage(java.lang.String reasonMessage)
The reason for canceling the conversion task.
reasonMessage
- The reason for canceling the conversion task.public java.lang.String getReasonMessage()
The reason for canceling the conversion task.
public CancelConversionTaskRequest withReasonMessage(java.lang.String reasonMessage)
The reason for canceling the conversion task.
reasonMessage
- The reason for canceling the conversion task.public Request<CancelConversionTaskRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CancelConversionTaskRequest>
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 CancelConversionTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()