@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartChildWorkflowExecutionInitiatedEventAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of the StartChildWorkflowExecutionInitiated
event.
Constructor and Description |
---|
StartChildWorkflowExecutionInitiatedEventAttributes() |
Modifier and Type | Method and Description |
---|---|
StartChildWorkflowExecutionInitiatedEventAttributes |
clone() |
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()
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.
|
String |
getLambdaRole()
The IAM role to attach to the child workflow execution.
|
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 |
getTaskPriority()
The priority assigned for the decision tasks for this 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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)
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.
|
void |
setLambdaRole(String lambdaRole)
The IAM role to attach to the child workflow execution.
|
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 |
setTaskPriority(String taskPriority)
The priority assigned for the decision tasks for this 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.
|
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)
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.
|
StartChildWorkflowExecutionInitiatedEventAttributes |
withLambdaRole(String lambdaRole)
The IAM role to attach to the child workflow execution.
|
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 |
withTaskPriority(String taskPriority)
The priority assigned for the decision tasks for this 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 void setWorkflowId(String workflowId)
The workflowId
of the child workflow execution.
workflowId
- The workflowId
of the child workflow execution.public String getWorkflowId()
The workflowId
of the child workflow execution.
workflowId
of the child workflow execution.public StartChildWorkflowExecutionInitiatedEventAttributes withWorkflowId(String workflowId)
The workflowId
of the child workflow execution.
workflowId
- The workflowId
of the child workflow execution.public void setWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
workflowType
- The type of the child workflow execution.public WorkflowType getWorkflowType()
The type of the child workflow execution.
public StartChildWorkflowExecutionInitiatedEventAttributes withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
workflowType
- The type of the child workflow execution.public void setControl(String control)
Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.
control
- Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't
sent to the activity.public String getControl()
Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.
public StartChildWorkflowExecutionInitiatedEventAttributes withControl(String control)
Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't sent to the activity.
control
- Data attached to the event that can be used by the decider in subsequent decision tasks. This data isn't
sent to the activity.public void setInput(String input)
The inputs provided to the child workflow execution.
input
- The inputs provided to the child workflow execution.public String getInput()
The inputs provided to the child workflow execution.
public StartChildWorkflowExecutionInitiatedEventAttributes withInput(String input)
The inputs provided to the child workflow execution.
input
- The inputs provided to the child workflow execution.public void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
executionStartToCloseTimeout
- The maximum duration for the child workflow execution. If the workflow execution isn't closed within this
duration, it is timed out and force-terminated.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public String getExecutionStartToCloseTimeout()
The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public StartChildWorkflowExecutionInitiatedEventAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The maximum duration for the child workflow execution. If the workflow execution isn't closed within this duration, it is timed out and force-terminated.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
executionStartToCloseTimeout
- The maximum duration for the child workflow execution. If the workflow execution isn't closed within this
duration, it is timed out and force-terminated.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public void setTaskList(TaskList taskList)
The name of the task list used for the decision tasks of the child workflow execution.
taskList
- The name of the task list used for the decision tasks of the child workflow execution.public TaskList getTaskList()
The name of the task list used for the decision tasks of the child workflow execution.
public StartChildWorkflowExecutionInitiatedEventAttributes withTaskList(TaskList taskList)
The name of the task list used for the decision tasks of the child workflow execution.
taskList
- The name of the task list used for the decision tasks of the child workflow execution.public void setTaskPriority(String taskPriority)
The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range
from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher
numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
taskPriority
- The priority assigned for the decision tasks for this workflow execution. Valid values are integers that
range from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
public String getTaskPriority()
The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range
from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher
numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
public StartChildWorkflowExecutionInitiatedEventAttributes withTaskPriority(String taskPriority)
The priority assigned for the decision tasks for this workflow execution. Valid values are integers that range
from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher
numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
taskPriority
- The priority assigned for the decision tasks for this workflow execution. Valid values are integers that
range from Java's Integer.MIN_VALUE
(-2147483648) to Integer.MAX_VALUE
(2147483647). Higher numbers indicate higher priority.
For more information about setting task priority, see Setting Task Priority in the Amazon SWF Developer Guide.
public 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. 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 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. 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 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. 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 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.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
ChildPolicy
public 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.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
ChildPolicy
public 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.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
ChildPolicy
public 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.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
ChildPolicy
public 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.
The supported child policies are:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate
actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
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:
TERMINATE
– The child executions are terminated.
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording a
WorkflowExecutionCancelRequested
event in its history. It is up to the decider to take
appropriate actions when it receives an execution history with this event.
ABANDON
– No action is taken. The child executions continue to run.
ChildPolicy
public void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration allowed for the decision tasks for this workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
taskStartToCloseTimeout
- The maximum duration allowed for the decision tasks for this workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public String getTaskStartToCloseTimeout()
The maximum duration allowed for the decision tasks for this workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public StartChildWorkflowExecutionInitiatedEventAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration allowed for the decision tasks for this workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
taskStartToCloseTimeout
- The maximum duration allowed for the decision tasks for this workflow execution.
The duration is specified in seconds, an integer greater than or equal to 0
. You can use
NONE
to specify unlimited duration.
public List<String> getTagList()
The list of tags to associated with the child workflow execution.
public void setTagList(Collection<String> tagList)
The list of tags to associated with the child workflow execution.
tagList
- The list of tags to associated with the child workflow execution.public StartChildWorkflowExecutionInitiatedEventAttributes withTagList(String... tagList)
The list of tags to associated with the child workflow execution.
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 to associated with the child workflow execution.public StartChildWorkflowExecutionInitiatedEventAttributes withTagList(Collection<String> tagList)
The list of tags to associated with the child workflow execution.
tagList
- The list of tags to associated with the child workflow execution.public void setLambdaRole(String lambdaRole)
The IAM role to attach to the child workflow execution.
lambdaRole
- The IAM role to attach to the child workflow execution.public String getLambdaRole()
The IAM role to attach to the child workflow execution.
public StartChildWorkflowExecutionInitiatedEventAttributes withLambdaRole(String lambdaRole)
The IAM role to attach to the child workflow execution.
lambdaRole
- The IAM role to attach to the child workflow execution.public String toString()
toString
in class Object
Object.toString()
public StartChildWorkflowExecutionInitiatedEventAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.