@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendTaskFailureRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| SendTaskFailureRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| SendTaskFailureRequest | clone() | 
| boolean | equals(Object obj) | 
| String | getCause()
 A more detailed explanation of the cause of the failure. | 
| String | getError()
 The error code of the failure. | 
| String | getTaskToken()
 The token that represents this task. | 
| int | hashCode() | 
| void | setCause(String cause)
 A more detailed explanation of the cause of the failure. | 
| void | setError(String error)
 The error code of the failure. | 
| void | setTaskToken(String taskToken)
 The token that represents this task. | 
| String | toString()Returns a string representation of this object. | 
| SendTaskFailureRequest | withCause(String cause)
 A more detailed explanation of the cause of the failure. | 
| SendTaskFailureRequest | withError(String error)
 The error code of the failure. | 
| SendTaskFailureRequest | withTaskToken(String taskToken)
 The token that represents this task. | 
addHandlerContext, copyBaseTo, 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 setTaskToken(String taskToken)
The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
taskToken - The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned
        to a worker, or in the context
        object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.public String getTaskToken()
The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
public SendTaskFailureRequest withTaskToken(String taskToken)
The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
taskToken - The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned
        to a worker, or in the context
        object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.public void setError(String error)
The error code of the failure.
error - The error code of the failure.public String getError()
The error code of the failure.
public SendTaskFailureRequest withError(String error)
The error code of the failure.
error - The error code of the failure.public void setCause(String cause)
A more detailed explanation of the cause of the failure.
cause - A more detailed explanation of the cause of the failure.public String getCause()
A more detailed explanation of the cause of the failure.
public SendTaskFailureRequest withCause(String cause)
A more detailed explanation of the cause of the failure.
cause - A more detailed explanation of the cause of the failure.public String toString()
toString in class ObjectObject.toString()public SendTaskFailureRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.