@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()
An arbitrary error code that identifies the cause 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)
An arbitrary error code that identifies the cause of the failure.
|
void |
setTaskToken(String taskToken)
The token that represents this task.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SendTaskFailureRequest |
withCause(String cause)
A more detailed explanation of the cause of the failure.
|
SendTaskFailureRequest |
withError(String error)
An arbitrary error code that identifies the cause 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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setTaskToken(String taskToken)
The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).
taskToken - The token that represents this task. Task tokens are generated by the service when the tasks are assigned
to a worker (see GetActivityTask::taskToken).public String getTaskToken()
The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).
public SendTaskFailureRequest withTaskToken(String taskToken)
The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).
taskToken - The token that represents this task. Task tokens are generated by the service when the tasks are assigned
to a worker (see GetActivityTask::taskToken).public void setError(String error)
An arbitrary error code that identifies the cause of the failure.
error - An arbitrary error code that identifies the cause of the failure.public String getError()
An arbitrary error code that identifies the cause of the failure.
public SendTaskFailureRequest withError(String error)
An arbitrary error code that identifies the cause of the failure.
error - An arbitrary error code that identifies the cause 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 © 2017. All rights reserved.