public class WorkflowExecutionContinuedAsNewEventAttributes extends Object implements Serializable
Provides details of the WorkflowExecutionContinuedAsNew
event.
Constructor and Description |
---|
WorkflowExecutionContinuedAsNewEventAttributes() |
Modifier and Type | Method and Description |
---|---|
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 |
getNewExecutionRunId()
The
runId of the new workflow execution. |
List<String> |
getTagList()
The list of tags associated with the new workflow execution.
|
TaskList |
getTaskList()
Represents a task list.
|
String |
getTaskStartToCloseTimeout()
The maximum duration of decision tasks for the new workflow execution.
|
WorkflowType |
getWorkflowType()
Represents a workflow type.
|
int |
hashCode() |
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 |
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)
Represents a task list.
|
void |
setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for the new workflow execution.
|
void |
setWorkflowType(WorkflowType workflowType)
Represents a workflow type.
|
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 |
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)
Represents a task list.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for the new workflow execution.
|
WorkflowExecutionContinuedAsNewEventAttributes |
withWorkflowType(WorkflowType workflowType)
Represents a workflow type.
|
public WorkflowExecutionContinuedAsNewEventAttributes()
public String getInput()
Constraints:
Length: 0 - 32768
public void setInput(String input)
Constraints:
Length: 0 - 32768
input
- The input provided to the new workflow execution.public WorkflowExecutionContinuedAsNewEventAttributes withInput(String input)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
input
- The input provided to the new workflow execution.public Long getDecisionTaskCompletedEventId()
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 cause of events.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 cause of events.public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 cause of events.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 cause of events.public WorkflowExecutionContinuedAsNewEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
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 cause of events.
Returns a reference to this object so that method calls can be chained together.
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 cause of events.public String getNewExecutionRunId()
runId
of the new workflow execution.
Constraints:
Length: 1 - 64
runId
of the new workflow execution.public void setNewExecutionRunId(String newExecutionRunId)
runId
of the new workflow execution.
Constraints:
Length: 1 - 64
newExecutionRunId
- The runId
of the new workflow execution.public WorkflowExecutionContinuedAsNewEventAttributes withNewExecutionRunId(String newExecutionRunId)
runId
of the new workflow execution.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
newExecutionRunId
- The runId
of the new workflow execution.public String getExecutionStartToCloseTimeout()
The
valid values are integers greater than or equal to 0
. An
integer value can be used to specify the duration in seconds while
NONE
can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
The
valid values are integers greater than or equal to 0
. An
integer value can be used to specify the duration in seconds while
NONE
can be used to specify unlimited duration.
public void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The
valid values are integers greater than or equal to 0
. An
integer value can be used to specify the duration in seconds while
NONE
can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
executionStartToCloseTimeout
- The total duration allowed for the new workflow execution. The
valid values are integers greater than or equal to 0
. An
integer value can be used to specify the duration in seconds while
NONE
can be used to specify unlimited duration.
public WorkflowExecutionContinuedAsNewEventAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The
valid values are integers greater than or equal to 0
. An
integer value can be used to specify the duration in seconds while
NONE
can be used to specify unlimited duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
executionStartToCloseTimeout
- The total duration allowed for the new workflow execution. The
valid values are integers greater than or equal to 0
. An
integer value can be used to specify the duration in seconds while
NONE
can be used to specify unlimited duration.
public TaskList getTaskList()
public void setTaskList(TaskList taskList)
taskList
- Represents a task list.public WorkflowExecutionContinuedAsNewEventAttributes withTaskList(TaskList taskList)
Returns a reference to this object so that method calls can be chained together.
taskList
- Represents a task list.public String getTaskStartToCloseTimeout()
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
public void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
Constraints:
Length: 0 - 8
taskStartToCloseTimeout
- The maximum duration of decision tasks for the new workflow execution.
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
public WorkflowExecutionContinuedAsNewEventAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 8
taskStartToCloseTimeout
- The maximum duration of decision tasks for the new workflow execution.
The valid values are integers greater than or equal to
0
. An integer value can be used to specify the duration
in seconds while NONE
can be used to specify unlimited
duration.
public String getChildPolicy()
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event. ChildPolicy
public void setChildPolicy(String childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
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:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event. ChildPolicy
public WorkflowExecutionContinuedAsNewEventAttributes withChildPolicy(String childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event. Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
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:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event. ChildPolicy
public void setChildPolicy(ChildPolicy childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
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:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event. ChildPolicy
public WorkflowExecutionContinuedAsNewEventAttributes withChildPolicy(ChildPolicy childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event. Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
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:
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event. ChildPolicy
public List<String> getTagList()
Constraints:
Length: 0 - 5
public void setTagList(Collection<String> tagList)
Constraints:
Length: 0 - 5
tagList
- The list of tags associated with the new workflow execution.public WorkflowExecutionContinuedAsNewEventAttributes withTagList(String... tagList)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 5
tagList
- The list of tags associated with the new workflow execution.public WorkflowExecutionContinuedAsNewEventAttributes withTagList(Collection<String> tagList)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 5
tagList
- The list of tags associated with the new workflow execution.public WorkflowType getWorkflowType()
public void setWorkflowType(WorkflowType workflowType)
workflowType
- Represents a workflow type.public WorkflowExecutionContinuedAsNewEventAttributes withWorkflowType(WorkflowType workflowType)
Returns a reference to this object so that method calls can be chained together.
workflowType
- Represents a workflow type.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.