@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RespondActivityTaskFailedRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RespondActivityTaskFailedRequest() |
Modifier and Type | Method and Description |
---|---|
RespondActivityTaskFailedRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDetails()
Detailed information about the failure.
|
String |
getReason()
Description of the error that may assist in diagnostics.
|
String |
getTaskToken()
The
taskToken of the ActivityTask. |
int |
hashCode() |
void |
setDetails(String details)
Detailed information about the failure.
|
void |
setReason(String reason)
Description of the error that may assist in diagnostics.
|
void |
setTaskToken(String taskToken)
The
taskToken of the ActivityTask. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RespondActivityTaskFailedRequest |
withDetails(String details)
Detailed information about the failure.
|
RespondActivityTaskFailedRequest |
withReason(String reason)
Description of the error that may assist in diagnostics.
|
RespondActivityTaskFailedRequest |
withTaskToken(String taskToken)
The
taskToken of the ActivityTask. |
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 taskToken
of the ActivityTask.
taskToken
is generated by the service and should be treated as an opaque value. If the task is
passed to another process, its taskToken
must also be passed. This enables it to provide its
progress and respond with results.
taskToken
- The taskToken
of the ActivityTask.
taskToken
is generated by the service and should be treated as an opaque value. If the task
is passed to another process, its taskToken
must also be passed. This enables it to provide
its progress and respond with results.
public String getTaskToken()
The taskToken
of the ActivityTask.
taskToken
is generated by the service and should be treated as an opaque value. If the task is
passed to another process, its taskToken
must also be passed. This enables it to provide its
progress and respond with results.
taskToken
of the ActivityTask.
taskToken
is generated by the service and should be treated as an opaque value. If the task
is passed to another process, its taskToken
must also be passed. This enables it to provide
its progress and respond with results.
public RespondActivityTaskFailedRequest withTaskToken(String taskToken)
The taskToken
of the ActivityTask.
taskToken
is generated by the service and should be treated as an opaque value. If the task is
passed to another process, its taskToken
must also be passed. This enables it to provide its
progress and respond with results.
taskToken
- The taskToken
of the ActivityTask.
taskToken
is generated by the service and should be treated as an opaque value. If the task
is passed to another process, its taskToken
must also be passed. This enables it to provide
its progress and respond with results.
public void setReason(String reason)
Description of the error that may assist in diagnostics.
reason
- Description of the error that may assist in diagnostics.public String getReason()
Description of the error that may assist in diagnostics.
public RespondActivityTaskFailedRequest withReason(String reason)
Description of the error that may assist in diagnostics.
reason
- Description of the error that may assist in diagnostics.public void setDetails(String details)
Detailed information about the failure.
details
- Detailed information about the failure.public String getDetails()
Detailed information about the failure.
public RespondActivityTaskFailedRequest withDetails(String details)
Detailed information about the failure.
details
- Detailed information about the failure.public String toString()
toString
in class Object
Object.toString()
public RespondActivityTaskFailedRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.