Class RespondDecisionTaskCompletedRequest
- All Implemented Interfaces:
ReadLimitInfo, 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 list of decisions (possibly empty) made by the decider while processing this decision task.User defined context to add to workflow execution.ThetaskTokenfrom the DecisionTask.inthashCode()voidsetDecisions(Collection<Decision> decisions) The list of decisions (possibly empty) made by the decider while processing this decision task.voidsetExecutionContext(String executionContext) User defined context to add to workflow execution.voidsetTaskToken(String taskToken) ThetaskTokenfrom the DecisionTask.toString()Returns a string representation of this object; useful for testing and debugging.withDecisions(Decision... decisions) The list of decisions (possibly empty) made by the decider while processing this decision task.withDecisions(Collection<Decision> decisions) The list of decisions (possibly empty) made by the decider while processing this decision task.withExecutionContext(String executionContext) User defined context to add to workflow execution.withTaskToken(String taskToken) ThetaskTokenfrom the DecisionTask.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
-
RespondDecisionTaskCompletedRequest
public RespondDecisionTaskCompletedRequest()
-
-
Method Details
-
setTaskToken
The
taskTokenfrom the DecisionTask.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- ThetaskTokenfrom the DecisionTask.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
taskTokenfrom the DecisionTask.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
taskTokenfrom the DecisionTask.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
taskTokenfrom the DecisionTask.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- ThetaskTokenfrom the DecisionTask.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.
-
getDecisions
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details.
- Returns:
- The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details.
-
setDecisions
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details.
- Parameters:
decisions- The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details.
-
withDecisions
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details.
NOTE: This method appends the values to the existing list (if any). Use
setDecisions(java.util.Collection)orwithDecisions(java.util.Collection)if you want to override the existing values.- Parameters:
decisions- The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDecisions
The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details.
- Parameters:
decisions- The list of decisions (possibly empty) made by the decider while processing this decision task. See the docs for the decision structure for details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExecutionContext
User defined context to add to workflow execution.
- Parameters:
executionContext- User defined context to add to workflow execution.
-
getExecutionContext
User defined context to add to workflow execution.
- Returns:
- User defined context to add to workflow execution.
-
withExecutionContext
User defined context to add to workflow execution.
- Parameters:
executionContext- User defined context to add to workflow execution.- 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:
-