public class WorkflowExecutionContinuedAsNewEventAttributes extends Object implements Serializable, Cloneable
Provides 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 attached to this workflow execution to use when invoking
AWS Lambda functions.
|
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 |
getTaskPriority()
Returns the value of the TaskPriority property for this object.
|
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 |
setLambdaRole(String lambdaRole)
The IAM role attached to this workflow execution to use when invoking
AWS Lambda functions.
|
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 |
setTaskPriority(String taskPriority)
Sets the value of the TaskPriority property for this object.
|
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 |
withLambdaRole(String lambdaRole)
The IAM role attached to this workflow execution to use when invoking
AWS Lambda functions.
|
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 |
withTaskPriority(String taskPriority)
Sets the value of the TaskPriority property for this object.
|
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 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 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 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 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 chain of events leading up to this event.
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 chain of events leading up to this event.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 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 total duration allowed for the new 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 WorkflowExecutionContinuedAsNewEventAttributes 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 total duration allowed for the new 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 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 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 WorkflowExecutionContinuedAsNewEventAttributes 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 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 the new 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 WorkflowExecutionContinuedAsNewEventAttributes 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 the new 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 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)
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 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 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 WorkflowExecutionContinuedAsNewEventAttributes 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 WorkflowExecutionContinuedAsNewEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.