Class RespondActivityTaskCompletedRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpleworkflow.model.RespondActivityTaskCompletedRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
public class RespondActivityTaskCompletedRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe result of the activity task.ThetaskTokenof the ActivityTask.inthashCode()voidThe result of the activity task.voidsetTaskToken(String taskToken) ThetaskTokenof the ActivityTask.toString()Returns a string representation of this object; useful for testing and debugging.withResult(String result) The result of the activity task.withTaskToken(String taskToken) ThetaskTokenof the ActivityTask.Methods inherited from class 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
-
RespondActivityTaskCompletedRequest
public RespondActivityTaskCompletedRequest()
-
-
Method Details
-
setTaskToken
The
taskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.- Parameters:
taskToken- ThetaskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.
-
getTaskToken
The
taskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.- Returns:
- The
taskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.
-
withTaskToken
The
taskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust also be passed. This enables it to provide its progress and respond with results.- Parameters:
taskToken- ThetaskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust 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.
-
setResult
The result of the activity task. It is a free form string that is implementation specific.
- Parameters:
result- The result of the activity task. It is a free form string that is implementation specific.
-
getResult
The result of the activity task. It is a free form string that is implementation specific.
- Returns:
- The result of the activity task. It is a free form string that is implementation specific.
-
withResult
The result of the activity task. It is a free form string that is implementation specific.
- Parameters:
result- The result of the activity task. It is a free form string that is implementation specific.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-