@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RespondDecisionTaskCompletedRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input data for a TaskCompleted response to a decision task.
NOOP
Constructor and Description |
---|
RespondDecisionTaskCompletedRequest() |
Modifier and Type | Method and Description |
---|---|
RespondDecisionTaskCompletedRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Decision> |
getDecisions()
The list of decisions (possibly empty) made by the decider while processing this decision task.
|
String |
getExecutionContext()
User defined context to add to workflow execution.
|
TaskList |
getTaskList()
The task list to use for the future decision tasks of this workflow execution.
|
String |
getTaskListScheduleToStartTimeout()
Specifies a timeout (in seconds) for the task list override.
|
String |
getTaskToken()
The
taskToken from the DecisionTask. |
int |
hashCode() |
void |
setDecisions(Collection<Decision> decisions)
The list of decisions (possibly empty) made by the decider while processing this decision task.
|
void |
setExecutionContext(String executionContext)
User defined context to add to workflow execution.
|
void |
setTaskList(TaskList taskList)
The task list to use for the future decision tasks of this workflow execution.
|
void |
setTaskListScheduleToStartTimeout(String taskListScheduleToStartTimeout)
Specifies a timeout (in seconds) for the task list override.
|
void |
setTaskToken(String taskToken)
The
taskToken from the DecisionTask. |
String |
toString()
Returns a string representation of this object.
|
RespondDecisionTaskCompletedRequest |
withDecisions(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(String executionContext)
User defined context to add to workflow execution.
|
RespondDecisionTaskCompletedRequest |
withTaskList(TaskList taskList)
The task list to use for the future decision tasks of this workflow execution.
|
RespondDecisionTaskCompletedRequest |
withTaskListScheduleToStartTimeout(String taskListScheduleToStartTimeout)
Specifies a timeout (in seconds) for the task list override.
|
RespondDecisionTaskCompletedRequest |
withTaskToken(String taskToken)
The
taskToken from the DecisionTask. |
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
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 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(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 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(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(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(String executionContext)
User defined context to add to workflow execution.
executionContext
- User defined context to add to workflow execution.public String getExecutionContext()
User defined context to add to workflow execution.
public RespondDecisionTaskCompletedRequest withExecutionContext(String executionContext)
User defined context to add to workflow execution.
executionContext
- User defined context to add to workflow execution.public void setTaskList(TaskList taskList)
The task list to use for the future decision tasks of this workflow execution. This list overrides the original task list you specified while starting the workflow execution.
taskList
- The task list to use for the future decision tasks of this workflow execution. This list overrides the
original task list you specified while starting the workflow execution.public TaskList getTaskList()
The task list to use for the future decision tasks of this workflow execution. This list overrides the original task list you specified while starting the workflow execution.
public RespondDecisionTaskCompletedRequest withTaskList(TaskList taskList)
The task list to use for the future decision tasks of this workflow execution. This list overrides the original task list you specified while starting the workflow execution.
taskList
- The task list to use for the future decision tasks of this workflow execution. This list overrides the
original task list you specified while starting the workflow execution.public void setTaskListScheduleToStartTimeout(String taskListScheduleToStartTimeout)
Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list override is permanent. This parameter makes it possible to temporarily override the task list. If a decision task scheduled on the override task list is not started within the timeout, the decision task will time out. Amazon SWF will revert the override and schedule a new decision task to the original task list.
If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.
taskListScheduleToStartTimeout
- Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list
override is permanent. This parameter makes it possible to temporarily override the task list. If a
decision task scheduled on the override task list is not started within the timeout, the decision task
will time out. Amazon SWF will revert the override and schedule a new decision task to the original task
list.
If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.
public String getTaskListScheduleToStartTimeout()
Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list override is permanent. This parameter makes it possible to temporarily override the task list. If a decision task scheduled on the override task list is not started within the timeout, the decision task will time out. Amazon SWF will revert the override and schedule a new decision task to the original task list.
If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.
If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.
public RespondDecisionTaskCompletedRequest withTaskListScheduleToStartTimeout(String taskListScheduleToStartTimeout)
Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list override is permanent. This parameter makes it possible to temporarily override the task list. If a decision task scheduled on the override task list is not started within the timeout, the decision task will time out. Amazon SWF will revert the override and schedule a new decision task to the original task list.
If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.
taskListScheduleToStartTimeout
- Specifies a timeout (in seconds) for the task list override. When this parameter is missing, the task list
override is permanent. This parameter makes it possible to temporarily override the task list. If a
decision task scheduled on the override task list is not started within the timeout, the decision task
will time out. Amazon SWF will revert the override and schedule a new decision task to the original task
list.
If a decision task scheduled on the override task list is started within the timeout, but not completed within the start-to-close timeout, Amazon SWF will also revert the override and schedule a new decision task to the original task list.
public String toString()
toString
in class Object
Object.toString()
public RespondDecisionTaskCompletedRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()