public class WorkflowExecutionTimedOutEventAttributes extends Object implements Serializable
Provides details of the WorkflowExecutionTimedOut
event.
Constructor and Description |
---|
WorkflowExecutionTimedOutEventAttributes() |
Modifier and Type | Method and Description |
---|---|
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
WorkflowExecutionTimeoutType
public void setTimeoutType(String timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType
- The type of timeout that caused this event.WorkflowExecutionTimeoutType
public 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.WorkflowExecutionTimeoutType
public void setTimeoutType(WorkflowExecutionTimeoutType timeoutType)
Constraints:
Allowed Values: START_TO_CLOSE
timeoutType
- The type of timeout that caused this event.WorkflowExecutionTimeoutType
public 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.WorkflowExecutionTimeoutType
public String getChildPolicy()
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
WorkflowExecutionCancelRequested
event in its history. It
is up to the decider to take appropriate actions when it receives an
execution history with this event. ChildPolicy
public void setChildPolicy(String childPolicy)
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. ChildPolicy
public WorkflowExecutionTimedOutEventAttributes withChildPolicy(String childPolicy)
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. ChildPolicy
public void setChildPolicy(ChildPolicy childPolicy)
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. ChildPolicy
public WorkflowExecutionTimedOutEventAttributes withChildPolicy(ChildPolicy childPolicy)
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. ChildPolicy
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.