@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CancelTaskResult() |
| Modifier and Type | Method and Description |
|---|---|
CancelTaskResult |
clone() |
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.
|
CancelTaskResult |
withTaskId(String taskId)
The ID of the task that you are attempting to cancel.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setTaskId(String taskId)
The ID of the task that you are attempting to cancel.
taskId - The ID of the task that you are attempting to cancel.public String getTaskId()
The ID of the task that you are attempting to cancel.
public CancelTaskResult withTaskId(String taskId)
The ID of the task that you are attempting to cancel.
taskId - The ID of the task that you are attempting to cancel.public String toString()
toString in class ObjectObject.toString()public CancelTaskResult clone()