|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CancelConversionTaskRequest
public class CancelConversionTaskRequest
Container for the parameters to the CancelConversionTask operation
.
Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is in the process of transferring the final disk image, the command fails and returns an exception.
For more information, see Using the Command Line Tools to Import Your Virtual Machine to Amazon EC2 in the Amazon Elastic Compute Cloud User Guide .
AmazonEC2.cancelConversionTask(CancelConversionTaskRequest)
,
Serialized FormConstructor Summary | |
---|---|
CancelConversionTaskRequest()
|
Method Summary | |
---|---|
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()
|
int |
hashCode()
|
void |
setConversionTaskId(java.lang.String conversionTaskId)
The ID of the conversion task. |
void |
setReasonMessage(java.lang.String reasonMessage)
|
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)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CancelConversionTaskRequest()
Method Detail |
---|
public java.lang.String getConversionTaskId()
public void setConversionTaskId(java.lang.String conversionTaskId)
conversionTaskId
- The ID of the conversion task.public CancelConversionTaskRequest withConversionTaskId(java.lang.String conversionTaskId)
Returns a reference to this object so that method calls can be chained together.
conversionTaskId
- The ID of the conversion task.
public java.lang.String getReasonMessage()
public void setReasonMessage(java.lang.String reasonMessage)
reasonMessage
- public CancelConversionTaskRequest withReasonMessage(java.lang.String reasonMessage)
Returns a reference to this object so that method calls can be chained together.
reasonMessage
-
public Request<CancelConversionTaskRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CancelConversionTaskRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |