public class StartChildWorkflowExecutionInitiatedEventAttributes extends Object implements Serializable
Provides details of the
StartChildWorkflowExecutionInitiated
event.
Constructor and Description |
---|
StartChildWorkflowExecutionInitiatedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getChildPolicy()
The policy to use for the child workflow executions if this execution
gets terminated by explicitly calling the
TerminateWorkflowExecution action or due to an expired timeout.
|
String |
getControl()
Optional data attached to the event that can be used by the decider in
subsequent decision tasks.
|
Long |
getDecisionTaskCompletedEventId()
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
StartChildWorkflowExecution Decision to request
this child workflow execution. |
String |
getExecutionStartToCloseTimeout()
The maximum duration for the child workflow execution.
|
String |
getInput()
The inputs provided to the child workflow execution (if any).
|
List<String> |
getTagList()
The list of tags to associated with the child workflow execution.
|
TaskList |
getTaskList()
The name of the task list used for the decision tasks of the child
workflow execution.
|
String |
getTaskStartToCloseTimeout()
The maximum duration allowed for the decision tasks for this workflow
execution.
|
String |
getWorkflowId()
The
workflowId of the child workflow execution. |
WorkflowType |
getWorkflowType()
The type of the child workflow execution.
|
int |
hashCode() |
void |
setChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions if this execution
gets terminated by explicitly calling the
TerminateWorkflowExecution action or due to an expired timeout.
|
void |
setChildPolicy(String childPolicy)
The policy to use for the child workflow executions if this execution
gets terminated by explicitly calling the
TerminateWorkflowExecution action or due to an expired timeout.
|
void |
setControl(String control)
Optional data attached to the event that can be used by the decider in
subsequent decision tasks.
|
void |
setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
StartChildWorkflowExecution Decision to request
this child workflow execution. |
void |
setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The maximum duration for the child workflow execution.
|
void |
setInput(String input)
The inputs provided to the child workflow execution (if any).
|
void |
setTagList(Collection<String> tagList)
The list of tags to associated with the child workflow execution.
|
void |
setTaskList(TaskList taskList)
The name of the task list used for the decision tasks of the child
workflow execution.
|
void |
setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration allowed for the decision tasks for this workflow
execution.
|
void |
setWorkflowId(String workflowId)
The
workflowId of the child workflow execution. |
void |
setWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions if this execution
gets terminated by explicitly calling the
TerminateWorkflowExecution action or due to an expired timeout.
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withChildPolicy(String childPolicy)
The policy to use for the child workflow executions if this execution
gets terminated by explicitly calling the
TerminateWorkflowExecution action or due to an expired timeout.
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withControl(String control)
Optional data attached to the event that can be used by the decider in
subsequent decision tasks.
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The id of the
DecisionTaskCompleted event corresponding
to the decision task that resulted in the
StartChildWorkflowExecution Decision to request
this child workflow execution. |
StartChildWorkflowExecutionInitiatedEventAttributes |
withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The maximum duration for the child workflow execution.
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withInput(String input)
The inputs provided to the child workflow execution (if any).
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withTagList(Collection<String> tagList)
The list of tags to associated with the child workflow execution.
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withTagList(String... tagList)
The list of tags to associated with the child workflow execution.
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withTaskList(TaskList taskList)
The name of the task list used for the decision tasks of the child
workflow execution.
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration allowed for the decision tasks for this workflow
execution.
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withWorkflowId(String workflowId)
The
workflowId of the child workflow execution. |
StartChildWorkflowExecutionInitiatedEventAttributes |
withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
|
public StartChildWorkflowExecutionInitiatedEventAttributes()
public String getWorkflowId()
workflowId
of the child workflow execution.
Constraints:
Length: 1 - 256
workflowId
of the child workflow execution.public void setWorkflowId(String workflowId)
workflowId
of the child workflow execution.
Constraints:
Length: 1 - 256
workflowId
- The workflowId
of the child workflow execution.public StartChildWorkflowExecutionInitiatedEventAttributes withWorkflowId(String workflowId)
workflowId
of the child workflow execution.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
workflowId
- The workflowId
of the child workflow execution.public WorkflowType getWorkflowType()
public void setWorkflowType(WorkflowType workflowType)
workflowType
- The type of the child workflow execution.public StartChildWorkflowExecutionInitiatedEventAttributes withWorkflowType(WorkflowType workflowType)
Returns a reference to this object so that method calls can be chained together.
workflowType
- The type of the child workflow execution.public String getControl()
Constraints:
Length: 0 - 32768
public void setControl(String control)
Constraints:
Length: 0 - 32768
control
- Optional data attached to the event that can be used by the decider in
subsequent decision tasks. This data is not sent to the activity.public StartChildWorkflowExecutionInitiatedEventAttributes withControl(String control)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
control
- Optional data attached to the event that can be used by the decider in
subsequent decision tasks. This data is not sent to the activity.public String getInput()
Constraints:
Length: 0 - 32768
public void setInput(String input)
Constraints:
Length: 0 - 32768
input
- The inputs provided to the child workflow execution (if any).public StartChildWorkflowExecutionInitiatedEventAttributes withInput(String input)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32768
input
- The inputs provided to the child 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 the child workflow execution. If the workflow
execution is not closed within this duration, it will be timed out and
force terminated. 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 StartChildWorkflowExecutionInitiatedEventAttributes 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 the child workflow execution. If the workflow
execution is not closed within this duration, it will be timed out and
force terminated. 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
- The name of the task list used for the decision tasks of the child
workflow execution.public StartChildWorkflowExecutionInitiatedEventAttributes withTaskList(TaskList taskList)
Returns a reference to this object so that method calls can be chained together.
taskList
- The name of the task list used for the decision tasks of the child
workflow execution.public Long getDecisionTaskCompletedEventId()
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the
StartChildWorkflowExecution
Decision to request
this child workflow 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
StartChildWorkflowExecution
Decision to request
this child workflow 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
StartChildWorkflowExecution
Decision to request
this child workflow 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
StartChildWorkflowExecution
Decision to request
this child workflow execution. This information can be useful for
diagnosing problems by tracing back the cause of events.public StartChildWorkflowExecutionInitiatedEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
DecisionTaskCompleted
event corresponding
to the decision task that resulted in the
StartChildWorkflowExecution
Decision to request
this child workflow 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
StartChildWorkflowExecution
Decision to request
this child workflow execution. This information can be useful for
diagnosing problems by tracing back the cause of events.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 execution
gets terminated by explicitly calling the
TerminateWorkflowExecution action 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 StartChildWorkflowExecutionInitiatedEventAttributes 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 execution
gets terminated by explicitly calling the
TerminateWorkflowExecution action 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 execution
gets terminated by explicitly calling the
TerminateWorkflowExecution action 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 StartChildWorkflowExecutionInitiatedEventAttributes 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 execution
gets terminated by explicitly calling the
TerminateWorkflowExecution action 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 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 allowed for the decision tasks 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 StartChildWorkflowExecutionInitiatedEventAttributes 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 allowed for the decision tasks 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 List<String> getTagList()
Constraints:
Length: 0 - 5
public void setTagList(Collection<String> tagList)
Constraints:
Length: 0 - 5
tagList
- The list of tags to associated with the child workflow execution.public StartChildWorkflowExecutionInitiatedEventAttributes 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 to associated with the child workflow execution.public StartChildWorkflowExecutionInitiatedEventAttributes 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 to associated with the child workflow execution.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.