Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class WorkflowExecutionTimedOutEventAttributes

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

public class WorkflowExecutionTimedOutEventAttributes
extends Object
implements Serializable

Provides details of the WorkflowExecutionTimedOut event.

See Also:
Serialized Form

Constructor Summary
WorkflowExecutionTimedOutEventAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getChildPolicy()
          The policy used for the child workflow executions of this workflow execution.
 String getTimeoutType()
          The type of timeout that caused this event.
 int hashCode()
           
 void setChildPolicy(ChildPolicy childPolicy)
          The policy used for the child workflow executions of this workflow execution.
 void setChildPolicy(String childPolicy)
          The policy used for the child workflow executions of this workflow execution.
 void setTimeoutType(String timeoutType)
          The type of timeout that caused this event.
 void setTimeoutType(WorkflowExecutionTimeoutType timeoutType)
          The type of timeout that caused this event.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 WorkflowExecutionTimedOutEventAttributes withChildPolicy(ChildPolicy childPolicy)
          The policy used for the child workflow executions of this workflow execution.
 WorkflowExecutionTimedOutEventAttributes withChildPolicy(String childPolicy)
          The policy used for the child workflow executions of this workflow execution.
 WorkflowExecutionTimedOutEventAttributes withTimeoutType(String timeoutType)
          The type of timeout that caused this event.
 WorkflowExecutionTimedOutEventAttributes withTimeoutType(WorkflowExecutionTimeoutType timeoutType)
          The type of timeout that caused this event.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowExecutionTimedOutEventAttributes

public WorkflowExecutionTimedOutEventAttributes()
Method Detail

getTimeoutType

public String getTimeoutType()
The type of timeout that caused this event.

Constraints:
Allowed Values: START_TO_CLOSE

Returns:
The type of timeout that caused this event.
See Also:
WorkflowExecutionTimeoutType

setTimeoutType

public void setTimeoutType(String timeoutType)
The type of timeout that caused this event.

Constraints:
Allowed Values: START_TO_CLOSE

Parameters:
timeoutType - The type of timeout that caused this event.
See Also:
WorkflowExecutionTimeoutType

withTimeoutType

public WorkflowExecutionTimedOutEventAttributes withTimeoutType(String timeoutType)
The type of timeout that caused this event.

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

Constraints:
Allowed Values: START_TO_CLOSE

Parameters:
timeoutType - The type of timeout that caused this event.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
WorkflowExecutionTimeoutType

setTimeoutType

public void setTimeoutType(WorkflowExecutionTimeoutType timeoutType)
The type of timeout that caused this event.

Constraints:
Allowed Values: START_TO_CLOSE

Parameters:
timeoutType - The type of timeout that caused this event.
See Also:
WorkflowExecutionTimeoutType

withTimeoutType

public WorkflowExecutionTimedOutEventAttributes withTimeoutType(WorkflowExecutionTimeoutType timeoutType)
The type of timeout that caused this event.

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

Constraints:
Allowed Values: START_TO_CLOSE

Parameters:
timeoutType - The type of timeout that caused this event.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
WorkflowExecutionTimeoutType

getChildPolicy

public String getChildPolicy()
The policy used for the child workflow executions of this workflow execution. The supported child policies are:

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Returns:
The policy used for the child workflow executions of this workflow execution. 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 used for the child workflow executions of this workflow execution. The supported child policies are:

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - The policy used for the child workflow executions of this workflow execution. 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 WorkflowExecutionTimedOutEventAttributes withChildPolicy(String childPolicy)
The policy used for the child workflow executions of this workflow execution. 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 used for the child workflow executions of this workflow execution. 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 used for the child workflow executions of this workflow execution. The supported child policies are:

Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON

Parameters:
childPolicy - The policy used for the child workflow executions of this workflow execution. 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 WorkflowExecutionTimedOutEventAttributes withChildPolicy(ChildPolicy childPolicy)
The policy used for the child workflow executions of this workflow execution. 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 used for the child workflow executions of this workflow execution. 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

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.