Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class WorkflowExecutionStartedEventAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.WorkflowExecutionStartedEventAttributes
All Implemented Interfaces:
Serializable

public class WorkflowExecutionStartedEventAttributes
extends Object
implements Serializable

Provides details of WorkflowExecutionStarted event.

See Also:
Serialized Form

Constructor Summary
WorkflowExecutionStartedEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getChildPolicy()
          The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 String getContinuedExecutionRunId()
          If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.
 String getExecutionStartToCloseTimeout()
          The maximum duration for this workflow execution.
 String getInput()
          The input provided to the workflow execution (if any).
 Long getParentInitiatedEventId()
          The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution.
 WorkflowExecution getParentWorkflowExecution()
          The source workflow execution that started this workflow execution.
 List<String> getTagList()
          The list of tags associated with this workflow execution.
 TaskList getTaskList()
          The name of the task list for scheduling the decision tasks for this workflow execution.
 String getTaskStartToCloseTimeout()
          The maximum duration of decision tasks for this workflow type.
 WorkflowType getWorkflowType()
          The workflow type of this execution.
 int hashCode()
           
 void setChildPolicy(ChildPolicy childPolicy)
          The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 void setChildPolicy(String childPolicy)
          The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 void setContinuedExecutionRunId(String continuedExecutionRunId)
          If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.
 void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
          The maximum duration for this workflow execution.
 void setInput(String input)
          The input provided to the workflow execution (if any).
 void setParentInitiatedEventId(Long parentInitiatedEventId)
          The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution.
 void setParentWorkflowExecution(WorkflowExecution parentWorkflowExecution)
          The source workflow execution that started this workflow execution.
 void setTagList(Collection<String> tagList)
          The list of tags associated with this workflow execution.
 void setTaskList(TaskList taskList)
          The name of the task list for scheduling the decision tasks for this workflow execution.
 void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
          The maximum duration of decision tasks for this workflow type.
 void setWorkflowType(WorkflowType workflowType)
          The workflow type of this execution.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 WorkflowExecutionStartedEventAttributes withChildPolicy(ChildPolicy childPolicy)
          The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 WorkflowExecutionStartedEventAttributes withChildPolicy(String childPolicy)
          The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout.
 WorkflowExecutionStartedEventAttributes withContinuedExecutionRunId(String continuedExecutionRunId)
          If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.
 WorkflowExecutionStartedEventAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
          The maximum duration for this workflow execution.
 WorkflowExecutionStartedEventAttributes withInput(String input)
          The input provided to the workflow execution (if any).
 WorkflowExecutionStartedEventAttributes withParentInitiatedEventId(Long parentInitiatedEventId)
          The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution.
 WorkflowExecutionStartedEventAttributes withParentWorkflowExecution(WorkflowExecution parentWorkflowExecution)
          The source workflow execution that started this workflow execution.
 WorkflowExecutionStartedEventAttributes withTagList(Collection<String> tagList)
          The list of tags associated with this workflow execution.
 WorkflowExecutionStartedEventAttributes withTagList(String... tagList)
          The list of tags associated with this workflow execution.
 WorkflowExecutionStartedEventAttributes withTaskList(TaskList taskList)
          The name of the task list for scheduling the decision tasks for this workflow execution.
 WorkflowExecutionStartedEventAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
          The maximum duration of decision tasks for this workflow type.
 WorkflowExecutionStartedEventAttributes withWorkflowType(WorkflowType workflowType)
          The workflow type of this execution.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowExecutionStartedEventAttributes

public WorkflowExecutionStartedEventAttributes()
Method Detail

getInput

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

Constraints:
Length: 0 - 32768

Returns:
The input provided to the workflow execution (if any).

setInput

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

Constraints:
Length: 0 - 32768

Parameters:
input - The input provided to the workflow execution (if any).

withInput

public WorkflowExecutionStartedEventAttributes withInput(String input)
The input provided to the workflow execution (if any).

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

Constraints:
Length: 0 - 32768

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

getExecutionStartToCloseTimeout

public String getExecutionStartToCloseTimeout()
The maximum duration 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.

Constraints:
Length: 0 - 8

Returns:
The maximum duration 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.


setExecutionStartToCloseTimeout

public void setExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The maximum duration 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.

Constraints:
Length: 0 - 8

Parameters:
executionStartToCloseTimeout - The maximum duration 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.


withExecutionStartToCloseTimeout

public WorkflowExecutionStartedEventAttributes withExecutionStartToCloseTimeout(String executionStartToCloseTimeout)
The maximum duration 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.

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

Constraints:
Length: 0 - 8

Parameters:
executionStartToCloseTimeout - The maximum duration 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.

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

getTaskStartToCloseTimeout

public String getTaskStartToCloseTimeout()
The maximum duration of decision tasks for this 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.

Constraints:
Length: 0 - 8

Returns:
The maximum duration of decision tasks for this 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.


setTaskStartToCloseTimeout

public void setTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for this 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.

Constraints:
Length: 0 - 8

Parameters:
taskStartToCloseTimeout - The maximum duration of decision tasks for this 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.


withTaskStartToCloseTimeout

public WorkflowExecutionStartedEventAttributes withTaskStartToCloseTimeout(String taskStartToCloseTimeout)
The maximum duration of decision tasks for this 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.

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

Constraints:
Length: 0 - 8

Parameters:
taskStartToCloseTimeout - The maximum duration of decision tasks for this 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.

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

getChildPolicy

public String getChildPolicy()
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are:

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Returns:
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are:
  • 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.
See Also:
ChildPolicy

setChildPolicy

public void setChildPolicy(String childPolicy)
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are:

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are:
  • 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.
See Also:
ChildPolicy

withChildPolicy

public WorkflowExecutionStartedEventAttributes withChildPolicy(String childPolicy)
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are:

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

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are:
  • 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.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ChildPolicy

setChildPolicy

public void setChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are:

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are:
  • 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.
See Also:
ChildPolicy

withChildPolicy

public WorkflowExecutionStartedEventAttributes withChildPolicy(ChildPolicy childPolicy)
The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are:

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

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - The policy to use for the child workflow executions if this workflow execution is terminated, by calling the TerminateWorkflowExecution action explicitly or due to an expired timeout. The supported child policies are:
  • 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.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ChildPolicy

getTaskList

public TaskList getTaskList()
The name of the task list for scheduling the decision tasks for this workflow execution.

Returns:
The name of the task list for scheduling the decision tasks for this workflow execution.

setTaskList

public void setTaskList(TaskList taskList)
The name of the task list for scheduling the decision tasks for this workflow execution.

Parameters:
taskList - The name of the task list for scheduling the decision tasks for this workflow execution.

withTaskList

public WorkflowExecutionStartedEventAttributes withTaskList(TaskList taskList)
The name of the task list for scheduling the decision tasks for this workflow execution.

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

Parameters:
taskList - The name of the task list for scheduling the decision tasks for this workflow execution.
Returns:
A reference to this updated object so that method calls can be chained together.

getWorkflowType

public WorkflowType getWorkflowType()
The workflow type of this execution.

Returns:
The workflow type of this execution.

setWorkflowType

public void setWorkflowType(WorkflowType workflowType)
The workflow type of this execution.

Parameters:
workflowType - The workflow type of this execution.

withWorkflowType

public WorkflowExecutionStartedEventAttributes withWorkflowType(WorkflowType workflowType)
The workflow type of this execution.

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

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

getTagList

public List<String> getTagList()
The list of tags associated with this workflow execution. An execution can have up to 5 tags.

Constraints:
Length: 0 - 5

Returns:
The list of tags associated with this workflow execution. An execution can have up to 5 tags.

setTagList

public void setTagList(Collection<String> tagList)
The list of tags associated with this workflow execution. An execution can have up to 5 tags.

Constraints:
Length: 0 - 5

Parameters:
tagList - The list of tags associated with this workflow execution. An execution can have up to 5 tags.

withTagList

public WorkflowExecutionStartedEventAttributes withTagList(String... tagList)
The list of tags associated with this workflow execution. An execution can have up to 5 tags.

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

Constraints:
Length: 0 - 5

Parameters:
tagList - The list of tags associated with this workflow execution. An execution can have up to 5 tags.
Returns:
A reference to this updated object so that method calls can be chained together.

withTagList

public WorkflowExecutionStartedEventAttributes withTagList(Collection<String> tagList)
The list of tags associated with this workflow execution. An execution can have up to 5 tags.

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

Constraints:
Length: 0 - 5

Parameters:
tagList - The list of tags associated with this workflow execution. An execution can have up to 5 tags.
Returns:
A reference to this updated object so that method calls can be chained together.

getContinuedExecutionRunId

public String getContinuedExecutionRunId()
If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.

Constraints:
Length: 0 - 64

Returns:
If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.

setContinuedExecutionRunId

public void setContinuedExecutionRunId(String continuedExecutionRunId)
If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.

Constraints:
Length: 0 - 64

Parameters:
continuedExecutionRunId - If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.

withContinuedExecutionRunId

public WorkflowExecutionStartedEventAttributes withContinuedExecutionRunId(String continuedExecutionRunId)
If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.

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

Constraints:
Length: 0 - 64

Parameters:
continuedExecutionRunId - If this workflow execution was started due to a ContinueAsNewWorkflowExecution decision, then it contains the runId of the previous workflow execution that was closed and continued as this execution.
Returns:
A reference to this updated object so that method calls can be chained together.

getParentWorkflowExecution

public WorkflowExecution getParentWorkflowExecution()
The source workflow execution that started this workflow execution. The member is not set if the workflow execution was not started by a workflow.

Returns:
The source workflow execution that started this workflow execution. The member is not set if the workflow execution was not started by a workflow.

setParentWorkflowExecution

public void setParentWorkflowExecution(WorkflowExecution parentWorkflowExecution)
The source workflow execution that started this workflow execution. The member is not set if the workflow execution was not started by a workflow.

Parameters:
parentWorkflowExecution - The source workflow execution that started this workflow execution. The member is not set if the workflow execution was not started by a workflow.

withParentWorkflowExecution

public WorkflowExecutionStartedEventAttributes withParentWorkflowExecution(WorkflowExecution parentWorkflowExecution)
The source workflow execution that started this workflow execution. The member is not set if the workflow execution was not started by a workflow.

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

Parameters:
parentWorkflowExecution - The source workflow execution that started this workflow execution. The member is not set if the workflow execution was not started by a workflow.
Returns:
A reference to this updated object so that method calls can be chained together.

getParentInitiatedEventId

public Long getParentInitiatedEventId()
The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution. The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Returns:
The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution. The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

setParentInitiatedEventId

public void setParentInitiatedEventId(Long parentInitiatedEventId)
The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution. The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

Parameters:
parentInitiatedEventId - The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution. The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

withParentInitiatedEventId

public WorkflowExecutionStartedEventAttributes withParentInitiatedEventId(Long parentInitiatedEventId)
The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution. The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

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

Parameters:
parentInitiatedEventId - The id of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution Decision to start this workflow execution. The source event with this Id can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
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.