Class RespondActivityTaskFailedRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpleworkflow.model.RespondActivityTaskFailedRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class RespondActivityTaskFailedRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Optional. Detailed information about the failure.Description of the error that may assist in diagnostics.ThetaskToken
of the ActivityTask.int
hashCode()
void
setDetails
(String details) Optional. Detailed information about the failure.void
Description of the error that may assist in diagnostics.void
setTaskToken
(String taskToken) ThetaskToken
of the ActivityTask.toString()
Returns a string representation of this object; useful for testing and debugging.withDetails
(String details) Optional. Detailed information about the failure.withReason
(String reason) Description of the error that may assist in diagnostics.withTaskToken
(String taskToken) ThetaskToken
of the ActivityTask.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
RespondActivityTaskFailedRequest
public RespondActivityTaskFailedRequest()
-
-
Method Details
-
setTaskToken
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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.- Parameters:
taskToken
- ThetaskToken
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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.
-
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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.- Returns:
- 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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.
-
withTaskToken
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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.- Parameters:
taskToken
- ThetaskToken
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, itstaskToken
must also be passed. This enables it to provide its progress and respond with results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReason
Description of the error that may assist in diagnostics.
- Parameters:
reason
- Description of the error that may assist in diagnostics.
-
getReason
Description of the error that may assist in diagnostics.
- Returns:
- Description of the error that may assist in diagnostics.
-
withReason
Description of the error that may assist in diagnostics.
- Parameters:
reason
- Description of the error that may assist in diagnostics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDetails
Optional. Detailed information about the failure.
- Parameters:
details
- Optional.
-
getDetails
Optional. Detailed information about the failure.
- Returns:
- Optional.
-
withDetails
Optional. Detailed information about the failure.
- Parameters:
details
- Optional.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-