public class WorkflowExecutionTimedOutEventAttributes extends Object implements Serializable, Cloneable
Provides details of the WorkflowExecutionTimedOut event.
| Constructor and Description |
|---|
WorkflowExecutionTimedOutEventAttributes() |
| Modifier and Type | Method and Description |
|---|---|
WorkflowExecutionTimedOutEventAttributes |
clone() |
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.
|
public WorkflowExecutionTimedOutEventAttributes()
public String getTimeoutType()
Constraints:
Allowed Values: START_TO_CLOSE
WorkflowExecutionTimeoutTypepublic void setTimeoutType(String timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of timeout that caused this event.WorkflowExecutionTimeoutTypepublic WorkflowExecutionTimedOutEventAttributes withTimeoutType(String timeoutType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of timeout that caused this event.WorkflowExecutionTimeoutTypepublic void setTimeoutType(WorkflowExecutionTimeoutType timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of timeout that caused this event.WorkflowExecutionTimeoutTypepublic WorkflowExecutionTimedOutEventAttributes withTimeoutType(WorkflowExecutionTimeoutType timeoutType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType - The type of timeout that caused this event.WorkflowExecutionTimeoutTypepublic String getChildPolicy()
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.ChildPolicypublic void setChildPolicy(String childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
childPolicy - The policy used for the child workflow executions of this workflow
execution. The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.ChildPolicypublic WorkflowExecutionTimedOutEventAttributes withChildPolicy(String childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
childPolicy - The policy used for the child workflow executions of this workflow
execution. The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.ChildPolicypublic void setChildPolicy(ChildPolicy childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
childPolicy - The policy used for the child workflow executions of this workflow
execution. The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.ChildPolicypublic WorkflowExecutionTimedOutEventAttributes withChildPolicy(ChildPolicy childPolicy)
The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE, REQUEST_CANCEL, ABANDON
childPolicy - The policy used for the child workflow executions of this workflow
execution. The supported child policies are:
WorkflowExecutionCancelRequested event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event.ChildPolicypublic String toString()
toString in class ObjectObject.toString()public WorkflowExecutionTimedOutEventAttributes clone()
Copyright © 2016. All rights reserved.