@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()
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, 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 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 Object
Object.toString()
public SendTaskFailureRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.