com.amazonaws.services.ec2.model
Class CancelExportTaskRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CancelExportTaskRequest
All Implemented Interfaces:
java.io.Serializable

public class CancelExportTaskRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

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.

See Also:
AmazonEC2.cancelExportTask(CancelExportTaskRequest), Serialized Form

Constructor 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

CancelExportTaskRequest

public CancelExportTaskRequest()
Method Detail

getExportTaskId

public java.lang.String getExportTaskId()
The ID of the export task. This is the ID returned by CreateInstanceExportTask.

Returns:
The ID of the export task. This is the ID returned by CreateInstanceExportTask.

setExportTaskId

public void setExportTaskId(java.lang.String exportTaskId)
The ID of the export task. This is the ID returned by CreateInstanceExportTask.

Parameters:
exportTaskId - The ID of the export task. This is the ID returned by CreateInstanceExportTask.

withExportTaskId

public CancelExportTaskRequest withExportTaskId(java.lang.String exportTaskId)
The ID of the export task. This is the ID returned by CreateInstanceExportTask.

Returns a reference to this object so that method calls can be chained together.

Parameters:
exportTaskId - The ID of the export task. This is the ID returned by CreateInstanceExportTask.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.