public class RespondDecisionTaskCompletedRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<Decision> |
decisions
The list of decisions (possibly empty) made by the decider while
processing this decision task.
|
private java.lang.String |
executionContext
User defined context to add to workflow execution.
|
private java.lang.String |
taskToken
The
taskToken from the DecisionTask. |
NOOP
Constructor and Description |
---|
RespondDecisionTaskCompletedRequest() |
Modifier and Type | Method and Description |
---|---|
RespondDecisionTaskCompletedRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<Decision> |
getDecisions()
The list of decisions (possibly empty) made by the decider while
processing this decision task.
|
java.lang.String |
getExecutionContext()
User defined context to add to workflow execution.
|
java.lang.String |
getTaskToken()
The
taskToken from the DecisionTask. |
int |
hashCode() |
void |
setDecisions(java.util.Collection<Decision> decisions)
The list of decisions (possibly empty) made by the decider while
processing this decision task.
|
void |
setExecutionContext(java.lang.String executionContext)
User defined context to add to workflow execution.
|
void |
setTaskToken(java.lang.String taskToken)
The
taskToken from the DecisionTask. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RespondDecisionTaskCompletedRequest |
withDecisions(java.util.Collection<Decision> decisions)
The list of decisions (possibly empty) made by the decider while
processing this decision task.
|
RespondDecisionTaskCompletedRequest |
withDecisions(Decision... decisions)
The list of decisions (possibly empty) made by the decider while
processing this decision task.
|
RespondDecisionTaskCompletedRequest |
withExecutionContext(java.lang.String executionContext)
User defined context to add to workflow execution.
|
RespondDecisionTaskCompletedRequest |
withTaskToken(java.lang.String taskToken)
The
taskToken from the DecisionTask. |
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
private java.lang.String taskToken
The taskToken
from the DecisionTask.
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.private java.util.List<Decision> 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.
private java.lang.String executionContext
User defined context to add to workflow execution.
public void setTaskToken(java.lang.String taskToken)
The taskToken
from the DecisionTask.
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
from the DecisionTask.
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 java.lang.String getTaskToken()
The taskToken
from the DecisionTask.
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
from the DecisionTask.
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 RespondDecisionTaskCompletedRequest withTaskToken(java.lang.String taskToken)
The taskToken
from the DecisionTask.
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
from the DecisionTask.
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 java.util.List<Decision> 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.
public void setDecisions(java.util.Collection<Decision> 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.
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.public RespondDecisionTaskCompletedRequest withDecisions(Decision... 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.
NOTE: This method appends the values to the existing list (if
any). Use setDecisions(java.util.Collection)
or
withDecisions(java.util.Collection)
if you want to override the
existing values.
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.public RespondDecisionTaskCompletedRequest withDecisions(java.util.Collection<Decision> 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.
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.public void setExecutionContext(java.lang.String executionContext)
User defined context to add to workflow execution.
executionContext
- User defined context to add to workflow execution.public java.lang.String getExecutionContext()
User defined context to add to workflow execution.
public RespondDecisionTaskCompletedRequest withExecutionContext(java.lang.String executionContext)
User defined context to add to workflow execution.
executionContext
- User defined context to add to workflow execution.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RespondDecisionTaskCompletedRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()