Package com.amazonaws.services.ec2.model
Class CancelConversionTaskRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ec2.model.CancelConversionTaskRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<CancelConversionTaskRequest>
,Serializable
,Cloneable
public class CancelConversionTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CancelConversionTaskRequest>
Contains the parameters for CancelConversionTask.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CancelConversionTaskRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CancelConversionTaskRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getConversionTaskId()
The ID of the conversion task.Request<CancelConversionTaskRequest>
getDryRunRequest()
This method is intended for internal use only.String
getReasonMessage()
The reason for canceling the conversion task.int
hashCode()
void
setConversionTaskId(String conversionTaskId)
The ID of the conversion task.void
setReasonMessage(String reasonMessage)
The reason for canceling the conversion task.String
toString()
Returns a string representation of this object; useful for testing and debugging.CancelConversionTaskRequest
withConversionTaskId(String conversionTaskId)
The ID of the conversion task.CancelConversionTaskRequest
withReasonMessage(String reasonMessage)
The reason for canceling the conversion task.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setConversionTaskId
public void setConversionTaskId(String conversionTaskId)
The ID of the conversion task.
- Parameters:
conversionTaskId
- The ID of the conversion task.
-
getConversionTaskId
public String getConversionTaskId()
The ID of the conversion task.
- Returns:
- The ID of the conversion task.
-
withConversionTaskId
public CancelConversionTaskRequest withConversionTaskId(String conversionTaskId)
The ID of the conversion task.
- Parameters:
conversionTaskId
- The ID of the conversion task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReasonMessage
public void setReasonMessage(String reasonMessage)
The reason for canceling the conversion task.
- Parameters:
reasonMessage
- The reason for canceling the conversion task.
-
getReasonMessage
public String getReasonMessage()
The reason for canceling the conversion task.
- Returns:
- The reason for canceling the conversion task.
-
withReasonMessage
public CancelConversionTaskRequest withReasonMessage(String reasonMessage)
The reason for canceling the conversion task.
- Parameters:
reasonMessage
- The reason for canceling the conversion task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
public Request<CancelConversionTaskRequest> 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 interfaceDryRunSupportedRequest<CancelConversionTaskRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CancelConversionTaskRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-