public class CancelExportTaskRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
Constructor and Description |
---|
CancelExportTaskRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.