public class CancelExportTaskRequest extends AmazonWebServiceRequest implements java.io.Serializable
Cancels the specified export task.
The task must be in the PENDING
or RUNNING
state.
Constructor and Description |
---|
CancelExportTaskRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTaskId()
The ID of the export task.
|
int |
hashCode() |
void |
setTaskId(java.lang.String taskId)
The ID of the export task.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelExportTaskRequest |
withTaskId(java.lang.String taskId)
The ID of the export task.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getTaskId()
The ID of the export task.
Constraints:
Length: 1 - 512
The ID of the export task.
public void setTaskId(java.lang.String taskId)
The ID of the export task.
Constraints:
Length: 1 - 512
taskId
- The ID of the export task.
public CancelExportTaskRequest withTaskId(java.lang.String taskId)
The ID of the export task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
taskId
- The ID of the export task.
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.