@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CancelTaskRequest() |
| Modifier and Type | Method and Description |
|---|---|
CancelTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getTaskId()
The ID of the task that you are attempting to cancel.
|
int |
hashCode() |
void |
setTaskId(String taskId)
The ID of the task that you are attempting to cancel.
|
String |
toString()
Returns a string representation of this object.
|
CancelTaskRequest |
withTaskId(String taskId)
The ID of the task that you are attempting to cancel.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setTaskId(String taskId)
The ID of the task that you are attempting to cancel. You can retrieve a task ID by using the
ListTasks operation.
taskId - The ID of the task that you are attempting to cancel. You can retrieve a task ID by using the
ListTasks operation.public String getTaskId()
The ID of the task that you are attempting to cancel. You can retrieve a task ID by using the
ListTasks operation.
ListTasks operation.public CancelTaskRequest withTaskId(String taskId)
The ID of the task that you are attempting to cancel. You can retrieve a task ID by using the
ListTasks operation.
taskId - The ID of the task that you are attempting to cancel. You can retrieve a task ID by using the
ListTasks operation.public String toString()
toString in class ObjectObject.toString()public CancelTaskRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()