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:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The ID of the conversion task.This method is intended for internal use only.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.toString()
Returns a string representation of this object; useful for testing and debugging.withConversionTaskId
(String conversionTaskId) The ID of the conversion task.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
-
Constructor Details
-
CancelConversionTaskRequest
public CancelConversionTaskRequest()
-
-
Method Details
-
setConversionTaskId
The ID of the conversion task.
- Parameters:
conversionTaskId
- The ID of the conversion task.
-
getConversionTaskId
The ID of the conversion task.
- Returns:
- The ID of the conversion task.
-
withConversionTaskId
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
The reason for canceling the conversion task.
- Parameters:
reasonMessage
- The reason for canceling the conversion task.
-
getReasonMessage
The reason for canceling the conversion task.
- Returns:
- The reason for canceling the conversion task.
-
withReasonMessage
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-