@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowExecutionContinuedAsNewEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of the WorkflowExecutionContinuedAsNew
event.
Constructor and Description |
---|
WorkflowExecutionContinuedAsNewEventAttributes() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionContinuedAsNewEventAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getChildPolicy()
The policy to use for the child workflow executions of the new execution if it is terminated by calling the
TerminateWorkflowExecution action explicitly or due to an expired timeout.
|
Long |
getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompleted event corresponding to the decision task that resulted in the
ContinueAsNewWorkflowExecution decision that started this execution. |
String |
getExecutionStartToCloseTimeout()
The total duration allowed for the new workflow execution.
|
String |
getInput()
The input provided to the new workflow execution.
|
String |
getLambdaRole()
The IAM role to attach to the new (continued) workflow execution.
|
String |
getNewExecutionRunId()
The
runId of the new workflow execution. |
List<String> |
getTagList()
The list of tags associated with the new workflow execution.
|
TaskList |
getTaskList()
The task list to use for the decisions of the new (continued) workflow execution.
|
String |
getTaskPriority()
The priority of the task to use for the decisions of the new (continued) workflow execution.
|
String |
getTaskStartToCloseTimeout()
The maximum duration of decision tasks for the new workflow execution.
|
WorkflowType |
getWorkflowType()
The workflow type of this execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the
TerminateWorkflowExecution action explicitly or due to an expired timeout.
|
void |
setChildPolicy(String childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the
TerminateWorkflowExecution action explicitly or due to an expired timeout.
|
void |
setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to the decision task that resulted in the
ContinueAsNewWorkflowExecution decision that started this execution. |
void |
setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration allowed for the new workflow execution.
|
void |
setInput(String input)
The input provided to the new workflow execution.
|
void |
setLambdaRole(String lambdaRole)
The IAM role to attach to the new (continued) workflow execution.
|
void |
setNewExecutionRunId(String newExecutionRunId)
The
runId of the new workflow execution. |
void |
setTagList(Collection<String> tagList)
The list of tags associated with the new workflow execution.
|
void |
setTaskList(TaskList taskList)
The task list to use for the decisions of the new (continued) workflow execution.
|
void |
setTaskPriority(String taskPriority)
The priority of the task to use for the decisions of the new (continued) workflow execution.
|
void |
setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for the new workflow execution.
|
void |
setWorkflowType(WorkflowType workflowType)
The workflow type of this execution.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the
TerminateWorkflowExecution action explicitly or due to an expired timeout.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withChildPolicy(String childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the
TerminateWorkflowExecution action explicitly or due to an expired timeout.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompleted event corresponding to the decision task that resulted in the
ContinueAsNewWorkflowExecution decision that started this execution. |
WorkflowExecutionContinuedAsNewEventAttributes |
withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration allowed for the new workflow execution.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withInput(String input)
The input provided to the new workflow execution.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withLambdaRole(String lambdaRole)
The IAM role to attach to the new (continued) workflow execution.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withNewExecutionRunId(String newExecutionRunId)
The
runId of the new workflow execution. |
WorkflowExecutionContinuedAsNewEventAttributes |
withTagList(Collection<String> tagList)
The list of tags associated with the new workflow execution.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withTagList(String... tagList)
The list of tags associated with the new workflow execution.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withTaskList(TaskList taskList)
The task list to use for the decisions of the new (continued) workflow execution.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withTaskPriority(String taskPriority)
The priority of the task to use for the decisions of the new (continued) workflow execution.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for the new workflow execution.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withWorkflowType(WorkflowType workflowType)
The workflow type of this execution.
|
public WorkflowExecutionContinuedAsNewEventAttributes()
public void setInput(String input)
The input provided to the new workflow execution.
input
- The input provided to the new workflow execution.public String getInput()
The input provided to the new workflow execution.
public WorkflowExecutionContinuedAsNewEventAttributes withInput(String input)
The input provided to the new workflow execution.
input
- The input provided to the new workflow execution.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the
ContinueAsNewWorkflowExecution
decision that started this execution. This information can be useful
for diagnosing problems by tracing back the chain of events leading up to this event.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in
the ContinueAsNewWorkflowExecution
decision that started this execution. This information can
be useful for diagnosing problems by tracing back the chain of events leading up to this event.public Long getDecisionTaskCompletedEventId()
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the
ContinueAsNewWorkflowExecution
decision that started this execution. This information can be useful
for diagnosing problems by tracing back the chain of events leading up to this event.
DecisionTaskCompleted
event corresponding to the decision task that resulted
in the ContinueAsNewWorkflowExecution
decision that started this execution. This information
can be useful for diagnosing problems by tracing back the chain of events leading up to this event.public WorkflowExecutionContinuedAsNewEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in the
ContinueAsNewWorkflowExecution
decision that started this execution. This information can be useful
for diagnosing problems by tracing back the chain of events leading up to this event.
decisionTaskCompletedEventId
- The ID of the DecisionTaskCompleted
event corresponding to the decision task that resulted in
the ContinueAsNewWorkflowExecution
decision that started this execution. This information can
be useful for diagnosing problems by tracing back the chain of events leading up to this event.public void setNewExecutionRunId(String newExecutionRunId)
The runId
of the new workflow execution.
newExecutionRunId
- The runId
of the new workflow execution.public String getNewExecutionRunId()
The runId
of the new workflow execution.
runId
of the new workflow execution.public WorkflowExecutionContinuedAsNewEventAttributes withNewExecutionRunId(String newExecutionRunId)
The runId
of the new workflow execution.
newExecutionRunId
- The runId
of the new workflow execution.public void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration allowed for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
executionStartToCloseTimeout
- The total duration allowed for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public String getExecutionStartToCloseTimeout()
The total duration allowed for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public WorkflowExecutionContinuedAsNewEventAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration allowed for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
executionStartToCloseTimeout
- The total duration allowed for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public void setTaskList(TaskList taskList)
The task list to use for the decisions of the new (continued) workflow execution.
taskList
- The task list to use for the decisions of the new (continued) workflow execution.public TaskList getTaskList()
The task list to use for the decisions of the new (continued) workflow execution.
public WorkflowExecutionContinuedAsNewEventAttributes withTaskList(TaskList taskList)
The task list to use for the decisions of the new (continued) workflow execution.
taskList
- The task list to use for the decisions of the new (continued) workflow execution.public void setTaskPriority(String taskPriority)
The priority of the task to use for the decisions of the new (continued) workflow execution.
taskPriority
- The priority of the task to use for the decisions of the new (continued) workflow execution.public String getTaskPriority()
The priority of the task to use for the decisions of the new (continued) workflow execution.
public WorkflowExecutionContinuedAsNewEventAttributes withTaskPriority(String taskPriority)
The priority of the task to use for the decisions of the new (continued) workflow execution.
taskPriority
- The priority of the task to use for the decisions of the new (continued) workflow execution.public void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
taskStartToCloseTimeout
- The maximum duration of decision tasks for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public String getTaskStartToCloseTimeout()
The maximum duration of decision tasks for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public WorkflowExecutionContinuedAsNewEventAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
taskStartToCloseTimeout
- The maximum duration of decision tasks for the new workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public void setChildPolicy(String childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
childPolicy
- The policy to use for the child workflow executions of the new execution if it is terminated by calling
the TerminateWorkflowExecution action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
ChildPolicy
public String getChildPolicy()
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
ChildPolicy
public WorkflowExecutionContinuedAsNewEventAttributes withChildPolicy(String childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
childPolicy
- The policy to use for the child workflow executions of the new execution if it is terminated by calling
the TerminateWorkflowExecution action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
ChildPolicy
public void setChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
childPolicy
- The policy to use for the child workflow executions of the new execution if it is terminated by calling
the TerminateWorkflowExecution action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
ChildPolicy
public WorkflowExecutionContinuedAsNewEventAttributes withChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions of the new execution if it is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
childPolicy
- The policy to use for the child workflow executions of the new execution if it is terminated by calling
the TerminateWorkflowExecution action explicitly or due to an expired timeout.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
ChildPolicy
public List<String> getTagList()
The list of tags associated with the new workflow execution.
public void setTagList(Collection<String> tagList)
The list of tags associated with the new workflow execution.
tagList
- The list of tags associated with the new workflow execution.public WorkflowExecutionContinuedAsNewEventAttributes withTagList(String... tagList)
The list of tags associated with the new workflow execution.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection)
or withTagList(java.util.Collection)
if you want to override
the existing values.
tagList
- The list of tags associated with the new workflow execution.public WorkflowExecutionContinuedAsNewEventAttributes withTagList(Collection<String> tagList)
The list of tags associated with the new workflow execution.
tagList
- The list of tags associated with the new workflow execution.public void setWorkflowType(WorkflowType workflowType)
The workflow type of this execution.
workflowType
- The workflow type of this execution.public WorkflowType getWorkflowType()
The workflow type of this execution.
public WorkflowExecutionContinuedAsNewEventAttributes withWorkflowType(WorkflowType workflowType)
The workflow type of this execution.
workflowType
- The workflow type of this execution.public void setLambdaRole(String lambdaRole)
The IAM role to attach to the new (continued) workflow execution.
lambdaRole
- The IAM role to attach to the new (continued) workflow execution.public String getLambdaRole()
The IAM role to attach to the new (continued) workflow execution.
public WorkflowExecutionContinuedAsNewEventAttributes withLambdaRole(String lambdaRole)
The IAM role to attach to the new (continued) workflow execution.
lambdaRole
- The IAM role to attach to the new (continued) workflow execution.public String toString()
toString
in class Object
Object.toString()
public WorkflowExecutionContinuedAsNewEventAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.