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 CancelConversionTaskRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetConversionTaskId()The ID of the conversion task.Request<CancelConversionTaskRequest>getDryRunRequest()This method is intended for internal use only.StringgetReasonMessage()The reason for canceling the conversion task.inthashCode()voidsetConversionTaskId(String conversionTaskId)The ID of the conversion task.voidsetReasonMessage(String reasonMessage)The reason for canceling the conversion task.StringtoString()Returns a string representation of this object; useful for testing and debugging.CancelConversionTaskRequestwithConversionTaskId(String conversionTaskId)The ID of the conversion task.CancelConversionTaskRequestwithReasonMessage(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:
getDryRunRequestin interfaceDryRunSupportedRequest<CancelConversionTaskRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CancelConversionTaskRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-