public class WorkflowExecutionStartedEventAttributes extends Object implements Serializable
Provides details of WorkflowExecutionStarted
event.
Constructor and Description |
---|
WorkflowExecutionStartedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getChildPolicy()
The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
String |
getContinuedExecutionRunId()
If this workflow execution was started due to a
ContinueAsNewWorkflowExecution decision, then it contains
the runId of the previous workflow execution that was
closed and continued as this execution. |
String |
getExecutionStartToCloseTimeout()
The maximum duration for this workflow execution.
|
String |
getInput()
The input provided to the workflow execution (if any).
|
Long |
getParentInitiatedEventId()
The id of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution
Decision to start this workflow execution. |
WorkflowExecution |
getParentWorkflowExecution()
The source workflow execution that started this workflow execution.
|
List<String> |
getTagList()
The list of tags associated with this workflow execution.
|
TaskList |
getTaskList()
The name of the task list for scheduling the decision tasks for this
workflow execution.
|
String |
getTaskStartToCloseTimeout()
The maximum duration of decision tasks for this workflow type.
|
WorkflowType |
getWorkflowType()
The workflow type of this execution.
|
int |
hashCode() |
void |
setChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions if this workflow
execution 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 if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
void |
setContinuedExecutionRunId(String continuedExecutionRunId)
If this workflow execution was started due to a
ContinueAsNewWorkflowExecution decision, then it contains
the runId of the previous workflow execution that was
closed and continued as this execution. |
void |
setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The maximum duration for this workflow execution.
|
void |
setInput(String input)
The input provided to the workflow execution (if any).
|
void |
setParentInitiatedEventId(Long parentInitiatedEventId)
The id of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution
Decision to start this workflow execution. |
void |
setParentWorkflowExecution(WorkflowExecution parentWorkflowExecution)
The source workflow execution that started this workflow execution.
|
void |
setTagList(Collection<String> tagList)
The list of tags associated with this workflow execution.
|
void |
setTaskList(TaskList taskList)
The name of the task list for scheduling the decision tasks for this
workflow execution.
|
void |
setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for this workflow type.
|
void |
setWorkflowType(WorkflowType workflowType)
The workflow type of this execution.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionStartedEventAttributes |
withChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
WorkflowExecutionStartedEventAttributes |
withChildPolicy(String childPolicy)
The policy to use for the child workflow executions if this workflow
execution is terminated, by calling the
TerminateWorkflowExecution action explicitly or due to an
expired timeout.
|
WorkflowExecutionStartedEventAttributes |
withContinuedExecutionRunId(String continuedExecutionRunId)
If this workflow execution was started due to a
ContinueAsNewWorkflowExecution decision, then it contains
the runId of the previous workflow execution that was
closed and continued as this execution. |
WorkflowExecutionStartedEventAttributes |
withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The maximum duration for this workflow execution.
|
WorkflowExecutionStartedEventAttributes |
withInput(String input)
The input provided to the workflow execution (if any).
|
WorkflowExecutionStartedEventAttributes |
withParentInitiatedEventId(Long parentInitiatedEventId)
The id of the
StartChildWorkflowExecutionInitiated event
corresponding to the StartChildWorkflowExecution
Decision to start this workflow execution. |
WorkflowExecutionStartedEventAttributes |
withParentWorkflowExecution(WorkflowExecution parentWorkflowExecution)
The source workflow execution that started this workflow execution.
|
WorkflowExecutionStartedEventAttributes |
withTagList(Collection<String> tagList)
The list of tags associated with this workflow execution.
|
WorkflowExecutionStartedEventAttributes |
withTagList(String... tagList)
The list of tags associated with this workflow execution.
|
WorkflowExecutionStartedEventAttributes |
withTaskList(TaskList taskList)
The name of the task list for scheduling the decision tasks for this
workflow execution.
|
WorkflowExecutionStartedEventAttributes |
withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for this workflow type.
|
WorkflowExecutionStartedEventAttributes |
withWorkflowType(WorkflowType workflowType)
The workflow type of this execution.
|
public WorkflowExecutionStartedEventAttributes()
public String getInput()
Constraints:
Length: 0 - 32768
public void setInput(String input)
Constraints:
Length: 0 - 32768
input
- The input provided to the workflow execution (if any).public WorkflowExecutionStartedEventAttributes 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 workflow execution (if any).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 maximum duration for this 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 WorkflowExecutionStartedEventAttributes 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 maximum duration for this 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 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 this workflow type. 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 WorkflowExecutionStartedEventAttributes 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 this workflow type. 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()
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
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)
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 if this workflow
execution 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 WorkflowExecutionStartedEventAttributes withChildPolicy(String childPolicy)
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 if this workflow
execution 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)
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 if this workflow
execution 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 WorkflowExecutionStartedEventAttributes withChildPolicy(ChildPolicy childPolicy)
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 if this workflow
execution 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 TaskList getTaskList()
public void setTaskList(TaskList taskList)
taskList
- The name of the task list for scheduling the decision tasks for this
workflow execution.public WorkflowExecutionStartedEventAttributes withTaskList(TaskList taskList)
Returns a reference to this object so that method calls can be chained together.
taskList
- The name of the task list for scheduling the decision tasks for this
workflow execution.public WorkflowType getWorkflowType()
public void setWorkflowType(WorkflowType workflowType)
workflowType
- The workflow type of this execution.public WorkflowExecutionStartedEventAttributes withWorkflowType(WorkflowType workflowType)
Returns a reference to this object so that method calls can be chained together.
workflowType
- The workflow type of this execution.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 this workflow execution. An execution
can have up to 5 tags.public WorkflowExecutionStartedEventAttributes 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 this workflow execution. An execution
can have up to 5 tags.public WorkflowExecutionStartedEventAttributes 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 this workflow execution. An execution
can have up to 5 tags.public String getContinuedExecutionRunId()
ContinueAsNewWorkflowExecution
decision, then it contains
the runId
of the previous workflow execution that was
closed and continued as this execution.
Constraints:
Length: 0 - 64
ContinueAsNewWorkflowExecution
decision, then it contains
the runId
of the previous workflow execution that was
closed and continued as this execution.public void setContinuedExecutionRunId(String continuedExecutionRunId)
ContinueAsNewWorkflowExecution
decision, then it contains
the runId
of the previous workflow execution that was
closed and continued as this execution.
Constraints:
Length: 0 - 64
continuedExecutionRunId
- If this workflow execution was started due to a
ContinueAsNewWorkflowExecution
decision, then it contains
the runId
of the previous workflow execution that was
closed and continued as this execution.public WorkflowExecutionStartedEventAttributes withContinuedExecutionRunId(String continuedExecutionRunId)
ContinueAsNewWorkflowExecution
decision, then it contains
the runId
of the previous workflow execution that was
closed and continued as this execution.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
continuedExecutionRunId
- If this workflow execution was started due to a
ContinueAsNewWorkflowExecution
decision, then it contains
the runId
of the previous workflow execution that was
closed and continued as this execution.public WorkflowExecution getParentWorkflowExecution()
public void setParentWorkflowExecution(WorkflowExecution parentWorkflowExecution)
parentWorkflowExecution
- The source workflow execution that started this workflow execution.
The member is not set if the workflow execution was not started by a
workflow.public WorkflowExecutionStartedEventAttributes withParentWorkflowExecution(WorkflowExecution parentWorkflowExecution)
Returns a reference to this object so that method calls can be chained together.
parentWorkflowExecution
- The source workflow execution that started this workflow execution.
The member is not set if the workflow execution was not started by a
workflow.public Long getParentInitiatedEventId()
StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
Decision to start this workflow execution. The source event
with this Id can be found in the history of the source workflow
execution. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
Decision to start this workflow execution. The source event
with this Id can be found in the history of the source workflow
execution. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.public void setParentInitiatedEventId(Long parentInitiatedEventId)
StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
Decision to start this workflow execution. The source event
with this Id can be found in the history of the source workflow
execution. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.parentInitiatedEventId
- The id of the StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
Decision to start this workflow execution. The source event
with this Id can be found in the history of the source workflow
execution. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.public WorkflowExecutionStartedEventAttributes withParentInitiatedEventId(Long parentInitiatedEventId)
StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
Decision to start this workflow execution. The source event
with this Id can be found in the history of the source workflow
execution. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.
Returns a reference to this object so that method calls can be chained together.
parentInitiatedEventId
- The id of the StartChildWorkflowExecutionInitiated
event
corresponding to the StartChildWorkflowExecution
Decision to start this workflow execution. The source event
with this Id can be found in the history of the source workflow
execution. This information can be useful for diagnosing problems by
tracing back the chain of events leading up to this event.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.