@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 ()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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, withSdkRequestTimeout public SendTaskFailureRequest()
public 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 Object Object.toString() public SendTaskFailureRequest clone()
AmazonWebServiceRequest clone in class AmazonWebServiceRequest Object.clone()