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() |
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) |
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) |
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 void setInput(String input)
The input provided to the workflow execution (if any).
input
- The input provided to the workflow execution (if any).public String getInput()
The input provided to the workflow execution (if any).
public WorkflowExecutionStartedEventAttributes withInput(String input)
The input provided to the workflow execution (if any).
input
- The input provided to the workflow execution (if any).public void setExecutionStartToCloseTimeout(String 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.
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 getExecutionStartToCloseTimeout()
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.
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 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.
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 void setTaskStartToCloseTimeout(String 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.
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 getTaskStartToCloseTimeout()
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.
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 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.
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 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.
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
- 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 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.
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.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 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
- 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 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
- 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 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
- 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 setTaskList(TaskList taskList)
The name of the task list for scheduling the decision tasks for this workflow execution.
taskList
- The name of the task list for scheduling the decision tasks for
this workflow execution.public TaskList getTaskList()
The name of the task list for scheduling the decision tasks for this workflow execution.
public WorkflowExecutionStartedEventAttributes withTaskList(TaskList taskList)
The name of the task list for scheduling the decision tasks for this workflow execution.
taskList
- The name of the task list for scheduling the decision tasks for
this 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 WorkflowExecutionStartedEventAttributes withWorkflowType(WorkflowType workflowType)
The workflow type of this execution.
workflowType
- The workflow type of this execution.public List<String> getTagList()
The list of tags associated with this workflow execution. An execution can have up to 5 tags.
public void setTagList(Collection<String> tagList)
The list of tags associated with this workflow execution. An execution can have up to 5 tags.
tagList
- The list of tags associated with this workflow execution. An
execution can have up to 5 tags.public WorkflowExecutionStartedEventAttributes withTagList(String... tagList)
The list of tags associated with this workflow execution. An execution can have up to 5 tags.
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 this workflow execution. An
execution can have up to 5 tags.public WorkflowExecutionStartedEventAttributes withTagList(Collection<String> tagList)
The list of tags associated with this workflow execution. An execution can have up to 5 tags.
tagList
- The list of tags associated with this workflow execution. An
execution can have up to 5 tags.public void setTaskPriority(String taskPriority)
taskPriority
- public String getTaskPriority()
public WorkflowExecutionStartedEventAttributes withTaskPriority(String taskPriority)
taskPriority
- public 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.
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 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.
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)
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.
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 void setParentWorkflowExecution(WorkflowExecution 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.
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 WorkflowExecution getParentWorkflowExecution()
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)
The source workflow execution that started this workflow execution. The member is not set if the workflow execution was not started by a workflow.
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 void setParentInitiatedEventId(Long 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.
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 Long getParentInitiatedEventId()
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.
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)
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.
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 void setLambdaRole(String lambdaRole)
The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
lambdaRole
- The IAM role attached to this workflow execution to use when
invoking AWS Lambda functions.public String getLambdaRole()
The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
public WorkflowExecutionStartedEventAttributes withLambdaRole(String lambdaRole)
The IAM role attached to this workflow execution to use when invoking AWS Lambda functions.
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.