|
|||||||
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.CancelExportTaskRequest
public class CancelExportTaskRequest
Container for the parameters to the CancelExportTask operation
.
Cancels an active export task. The request removes all artifacts of the export, including any partially-created Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the command fails and returns an error.
AmazonEC2.cancelExportTask(CancelExportTaskRequest)
,
Serialized FormConstructor Summary | |
---|---|
CancelExportTaskRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getExportTaskId()
The ID of the export task. |
int |
hashCode()
|
void |
setExportTaskId(java.lang.String exportTaskId)
The ID of the export task. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CancelExportTaskRequest |
withExportTaskId(java.lang.String exportTaskId)
The ID of the export task. |
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 CancelExportTaskRequest()
Method Detail |
---|
public java.lang.String getExportTaskId()
CreateInstanceExportTask
.
CreateInstanceExportTask
.public void setExportTaskId(java.lang.String exportTaskId)
CreateInstanceExportTask
.
exportTaskId
- The ID of the export task. This is the ID returned by
CreateInstanceExportTask
.public CancelExportTaskRequest withExportTaskId(java.lang.String exportTaskId)
CreateInstanceExportTask
.
Returns a reference to this object so that method calls can be chained together.
exportTaskId
- The ID of the export task. This is the ID returned by
CreateInstanceExportTask
.
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 |