public class WorkflowExecutionStartedEventAttributes extends Object implements Serializable, Cloneable
Provides details of WorkflowExecutionStarted
event.
Constructor and Description |
---|
WorkflowExecutionStartedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionStartedEventAttributes |
clone() |
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).
|
String |
getLambdaRole()
The IAM role attached to this workflow execution to use when invoking
AWS Lambda functions.
|
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 |
getTaskPriority()
Returns the value of the TaskPriority property for this object.
|
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 |
setLambdaRole(String lambdaRole)
The IAM role attached to this workflow execution to use when invoking
AWS Lambda functions.
|
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 |
setTaskPriority(String taskPriority)
Sets the value of the TaskPriority property for this object.
|
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 |
withLambdaRole(String lambdaRole)
The IAM role attached to this workflow execution to use when invoking
AWS Lambda functions.
|
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 |
withTaskPriority(String taskPriority)
Sets the value of the TaskPriority property for this object.
|
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 duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
public void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
executionStartToCloseTimeout
- The maximum duration for this workflow execution. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
public WorkflowExecutionStartedEventAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The duration is specified in seconds; an integer greater than or equal to 0. The value "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 duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
public String getTaskStartToCloseTimeout()
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
public void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
Constraints:
Length: 0 - 8
taskStartToCloseTimeout
- The maximum duration of decision tasks for this workflow type. The duration is specified in seconds; an integer greater than or equal to 0. The value "NONE" can be used to specify unlimited duration.
public WorkflowExecutionStartedEventAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The duration is specified in seconds; an integer greater than or equal to 0. The value "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 duration is specified in seconds; an integer greater than or equal to 0. The value "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 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)
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 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)
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 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)
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 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)
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.
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 getTaskPriority()
Constraints:
Length: 0 - 11
public void setTaskPriority(String taskPriority)
Constraints:
Length: 0 - 11
taskPriority
- The new value for the TaskPriority property for this object.public WorkflowExecutionStartedEventAttributes withTaskPriority(String taskPriority)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 11
taskPriority
- The new value for the TaskPriority property for this object.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 getLambdaRole()
Constraints:
Length: 1 - 1224
public void setLambdaRole(String lambdaRole)
Constraints:
Length: 1 - 1224
lambdaRole
- The IAM role attached to this workflow execution to use when invoking
AWS Lambda functions.public WorkflowExecutionStartedEventAttributes withLambdaRole(String lambdaRole)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1224
lambdaRole
- The IAM role attached to this workflow execution to use when invoking
AWS Lambda functions.public String toString()
toString
in class Object
Object.toString()
public WorkflowExecutionStartedEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.