public class CancelExportTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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.
NOOP
Constructor and Description |
---|
CancelExportTaskRequest() |
Modifier and Type | Method and Description |
---|---|
CancelExportTaskRequest |
clone() |
boolean |
equals(Object obj) |
String |
getExportTaskId()
The ID of the export task.
|
int |
hashCode() |
void |
setExportTaskId(String exportTaskId)
The ID of the export task.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelExportTaskRequest |
withExportTaskId(String exportTaskId)
The ID of the export task.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getExportTaskId()
CreateInstanceExportTask
.CreateInstanceExportTask
.public void setExportTaskId(String exportTaskId)
CreateInstanceExportTask
.exportTaskId
- The ID of the export task. This is the ID returned by
CreateInstanceExportTask
.public CancelExportTaskRequest withExportTaskId(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 String toString()
toString
in class Object
Object.toString()
public CancelExportTaskRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.