Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class StartChildWorkflowExecutionDecisionAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.StartChildWorkflowExecutionDecisionAttributes

public class StartChildWorkflowExecutionDecisionAttributes
extends Object

Provides details of the StartChildWorkflowExecution decision.


Constructor Summary
StartChildWorkflowExecutionDecisionAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getChildPolicy()
          If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 String getControl()
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 String getExecutionStartToCloseTimeout()
          The total duration for this workflow execution.
 String getInput()
          The input to be provided to the workflow execution.
 List<String> getTagList()
          The list of tags to associate with the child workflow execution.
 TaskList getTaskList()
          The name of the task list to be used for decision tasks of the child workflow execution.
 String getTaskStartToCloseTimeout()
          Specifies the maximum duration of decision tasks for this workflow execution.
 String getWorkflowId()
          The workflowId of the workflow execution.
 WorkflowType getWorkflowType()
          The type of the workflow execution to be started.
 int hashCode()
           
 void setChildPolicy(ChildPolicy childPolicy)
          If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 void setChildPolicy(String childPolicy)
          If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly 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 workflow tasks.
 void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
          The total duration for this workflow execution.
 void setInput(String input)
          The input to be provided to the workflow execution.
 void setTagList(Collection<String> tagList)
          The list of tags to associate with the child workflow execution.
 void setTaskList(TaskList taskList)
          The name of the task list to be used for decision tasks of the child workflow execution.
 void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
          Specifies the maximum duration of decision tasks for this workflow execution.
 void setWorkflowId(String workflowId)
          The workflowId of the workflow execution.
 void setWorkflowType(WorkflowType workflowType)
          The type of the workflow execution to be started.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 StartChildWorkflowExecutionDecisionAttributes withChildPolicy(ChildPolicy childPolicy)
          If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 StartChildWorkflowExecutionDecisionAttributes withChildPolicy(String childPolicy)
          If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 StartChildWorkflowExecutionDecisionAttributes withControl(String control)
          Optional data attached to the event that can be used by the decider in subsequent workflow tasks.
 StartChildWorkflowExecutionDecisionAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
          The total duration for this workflow execution.
 StartChildWorkflowExecutionDecisionAttributes withInput(String input)
          The input to be provided to the workflow execution.
 StartChildWorkflowExecutionDecisionAttributes withTagList(Collection<String> tagList)
          The list of tags to associate with the child workflow execution.
 StartChildWorkflowExecutionDecisionAttributes withTagList(String... tagList)
          The list of tags to associate with the child workflow execution.
 StartChildWorkflowExecutionDecisionAttributes withTaskList(TaskList taskList)
          The name of the task list to be used for decision tasks of the child workflow execution.
 StartChildWorkflowExecutionDecisionAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
          Specifies the maximum duration of decision tasks for this workflow execution.
 StartChildWorkflowExecutionDecisionAttributes withWorkflowId(String workflowId)
          The workflowId of the workflow execution.
 StartChildWorkflowExecutionDecisionAttributes withWorkflowType(WorkflowType workflowType)
          The type of the workflow execution to be started.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StartChildWorkflowExecutionDecisionAttributes

public StartChildWorkflowExecutionDecisionAttributes()
Method Detail

getWorkflowType

public WorkflowType getWorkflowType()
The type of the workflow execution to be started. This field is required.

Returns:
The type of the workflow execution to be started. This field is required.

setWorkflowType

public void setWorkflowType(WorkflowType workflowType)
The type of the workflow execution to be started. This field is required.

Parameters:
workflowType - The type of the workflow execution to be started. This field is required.

withWorkflowType

public StartChildWorkflowExecutionDecisionAttributes withWorkflowType(WorkflowType workflowType)
The type of the workflow execution to be started. This field is required.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowType - The type of the workflow execution to be started. This field is required.
Returns:
A reference to this updated object so that method calls can be chained together.

getWorkflowId

public String getWorkflowId()
The workflowId of the workflow execution. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Constraints:
Length: 1 - 256

Returns:
The workflowId of the workflow execution. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".


setWorkflowId

public void setWorkflowId(String workflowId)
The workflowId of the workflow execution. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Constraints:
Length: 1 - 256

Parameters:
workflowId - The workflowId of the workflow execution. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".


withWorkflowId

public StartChildWorkflowExecutionDecisionAttributes withWorkflowId(String workflowId)
The workflowId of the workflow execution. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 256

Parameters:
workflowId - The workflowId of the workflow execution. This field is required.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Returns:
A reference to this updated object so that method calls can be chained together.

getControl

public String getControl()
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the child workflow execution.

Constraints:
Length: 0 - 32768

Returns:
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the child workflow execution.

setControl

public void setControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the child workflow execution.

Constraints:
Length: 0 - 32768

Parameters:
control - Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the child workflow execution.

withControl

public StartChildWorkflowExecutionDecisionAttributes withControl(String control)
Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the child workflow execution.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 32768

Parameters:
control - Optional data attached to the event that can be used by the decider in subsequent workflow tasks. This data is not sent to the child workflow execution.
Returns:
A reference to this updated object so that method calls can be chained together.

getInput

public String getInput()
The input to be provided to the workflow execution.

Constraints:
Length: 0 - 32768

Returns:
The input to be provided to the workflow execution.

setInput

public void setInput(String input)
The input to be provided to the workflow execution.

Constraints:
Length: 0 - 32768

Parameters:
input - The input to be provided to the workflow execution.

withInput

public StartChildWorkflowExecutionDecisionAttributes withInput(String input)
The input to be provided to the workflow execution.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 32768

Parameters:
input - The input to be provided to the workflow execution.
Returns:
A reference to this updated object so that method calls can be chained together.

getExecutionStartToCloseTimeout

public String getExecutionStartToCloseTimeout()
The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

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. An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned.

Constraints:
Length: 0 - 8

Returns:
The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

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. An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned.


setExecutionStartToCloseTimeout

public void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

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. An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned.

Constraints:
Length: 0 - 8

Parameters:
executionStartToCloseTimeout - The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

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. An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned.


withExecutionStartToCloseTimeout

public StartChildWorkflowExecutionDecisionAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

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. An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 8

Parameters:
executionStartToCloseTimeout - The total duration for this workflow execution. This overrides the defaultExecutionStartToCloseTimeout specified when registering the workflow type.

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. An execution start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default execution start-to-close timeout was specified at registration time then a fault will be returned.

Returns:
A reference to this updated object so that method calls can be chained together.

getTaskList

public TaskList getTaskList()
The name of the task list to be used for decision tasks of the child workflow execution. A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Returns:
The name of the task list to be used for decision tasks of the child workflow execution. A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".


setTaskList

public void setTaskList(TaskList taskList)
The name of the task list to be used for decision tasks of the child workflow execution. A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Parameters:
taskList - The name of the task list to be used for decision tasks of the child workflow execution. A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".


withTaskList

public StartChildWorkflowExecutionDecisionAttributes withTaskList(TaskList taskList)
The name of the task list to be used for decision tasks of the child workflow execution. A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Returns a reference to this object so that method calls can be chained together.

Parameters:
taskList - The name of the task list to be used for decision tasks of the child workflow execution. A task list for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task list was specified at registration time then a fault will be returned.

The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- |  - ?). Also, it must not contain the literal string "arn".

Returns:
A reference to this updated object so that method calls can be chained together.

getTaskStartToCloseTimeout

public String getTaskStartToCloseTimeout()
Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

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. A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned.

Constraints:
Length: 0 - 8

Returns:
Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

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. A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned.


setTaskStartToCloseTimeout

public void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

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. A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned.

Constraints:
Length: 0 - 8

Parameters:
taskStartToCloseTimeout - Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

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. A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned.


withTaskStartToCloseTimeout

public StartChildWorkflowExecutionDecisionAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

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. A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 8

Parameters:
taskStartToCloseTimeout - Specifies the maximum duration of decision tasks for this workflow execution. This parameter overrides the defaultTaskStartToCloseTimout specified when registering the workflow type using RegisterWorkflowType.

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. A task start-to-close timeout for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default task start-to-close timeout was specified at registration time then a fault will be returned.

Returns:
A reference to this updated object so that method calls can be chained together.

getChildPolicy

public String getChildPolicy()
If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are: A child policy for the workflow execution being started must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned.

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Returns:
If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are:
  • TERMINATE: the child executions will be terminated.
  • REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.
A child policy for the workflow execution being started must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned.
See Also:
ChildPolicy

setChildPolicy

public void setChildPolicy(String childPolicy)
If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are: A child policy for the workflow execution being started must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned.

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are:
  • TERMINATE: the child executions will be terminated.
  • REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.
A child policy for the workflow execution being started must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned.
See Also:
ChildPolicy

withChildPolicy

public StartChildWorkflowExecutionDecisionAttributes withChildPolicy(String childPolicy)
If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are: A child policy for the workflow execution being started must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are:
  • TERMINATE: the child executions will be terminated.
  • REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.
A child policy for the workflow execution being started must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ChildPolicy

setChildPolicy

public void setChildPolicy(ChildPolicy childPolicy)
If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are: A child policy for the workflow execution being started must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned.

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are:
  • TERMINATE: the child executions will be terminated.
  • REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.
A child policy for the workflow execution being started must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned.
See Also:
ChildPolicy

withChildPolicy

public StartChildWorkflowExecutionDecisionAttributes withChildPolicy(ChildPolicy childPolicy)
If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are: A child policy for the workflow execution being started must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - If set, specifies the policy to use for the child workflow executions if the workflow execution being started is terminated by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. This policy overrides the default child policy specified when registering the workflow type using RegisterWorkflowType. The supported child policies are:
  • TERMINATE: the child executions will be terminated.
  • REQUEST_CANCEL: a request to cancel will be 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 will be taken. The child executions will continue to run.
A child policy for the workflow execution being started must be specified either as a default registered for its workflow type or through this field. If neither this field is set nor a default child policy was specified at registration time then a fault will be returned.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ChildPolicy

getTagList

public List<String> getTagList()
The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.

Constraints:
Length: 0 - 5

Returns:
The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.

setTagList

public void setTagList(Collection<String> tagList)
The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.

Constraints:
Length: 0 - 5

Parameters:
tagList - The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.

withTagList

public StartChildWorkflowExecutionDecisionAttributes withTagList(String... tagList)
The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 5

Parameters:
tagList - The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.
Returns:
A reference to this updated object so that method calls can be chained together.

withTagList

public StartChildWorkflowExecutionDecisionAttributes withTagList(Collection<String> tagList)
The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 5

Parameters:
tagList - The list of tags to associate with the child workflow execution. A maximum of 5 tags can be specified. You can list workflow executions with a specific tag by calling ListOpenWorkflowExecutions or ListClosedWorkflowExecutions and specifying a TagFilter.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.