Interface ChildWorkflowExecutionTimedOutEventAttributes.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ChildWorkflowExecutionTimedOutEventAttributes.Builder,ChildWorkflowExecutionTimedOutEventAttributes>
,SdkBuilder<ChildWorkflowExecutionTimedOutEventAttributes.Builder,ChildWorkflowExecutionTimedOutEventAttributes>
,SdkPojo
- Enclosing class:
- ChildWorkflowExecutionTimedOutEventAttributes
public static interface ChildWorkflowExecutionTimedOutEventAttributes.Builder extends SdkPojo, CopyableBuilder<ChildWorkflowExecutionTimedOutEventAttributes.Builder,ChildWorkflowExecutionTimedOutEventAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ChildWorkflowExecutionTimedOutEventAttributes.Builder
initiatedEventId(Long initiatedEventId)
The ID of theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
Decision to start this child workflow execution.ChildWorkflowExecutionTimedOutEventAttributes.Builder
startedEventId(Long startedEventId)
The ID of theChildWorkflowExecutionStarted
event recorded when this child workflow execution was started.ChildWorkflowExecutionTimedOutEventAttributes.Builder
timeoutType(String timeoutType)
The type of the timeout that caused the child workflow execution to time out.ChildWorkflowExecutionTimedOutEventAttributes.Builder
timeoutType(WorkflowExecutionTimeoutType timeoutType)
The type of the timeout that caused the child workflow execution to time out.default ChildWorkflowExecutionTimedOutEventAttributes.Builder
workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution)
The child workflow execution that timed out.ChildWorkflowExecutionTimedOutEventAttributes.Builder
workflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that timed out.default ChildWorkflowExecutionTimedOutEventAttributes.Builder
workflowType(Consumer<WorkflowType.Builder> workflowType)
The type of the child workflow execution.ChildWorkflowExecutionTimedOutEventAttributes.Builder
workflowType(WorkflowType workflowType)
The type of the child workflow execution.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
workflowExecution
ChildWorkflowExecutionTimedOutEventAttributes.Builder workflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that timed out.
- Parameters:
workflowExecution
- The child workflow execution that timed out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowExecution
default ChildWorkflowExecutionTimedOutEventAttributes.Builder workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution)
The child workflow execution that timed out.
This is a convenience method that creates an instance of theWorkflowExecution.Builder
avoiding the need to create one manually viaWorkflowExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkflowExecution(WorkflowExecution)
.- Parameters:
workflowExecution
- a consumer that will call methods onWorkflowExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
workflowExecution(WorkflowExecution)
-
workflowType
ChildWorkflowExecutionTimedOutEventAttributes.Builder workflowType(WorkflowType workflowType)
The type of the child workflow execution.
- Parameters:
workflowType
- The type of the child workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowType
default ChildWorkflowExecutionTimedOutEventAttributes.Builder workflowType(Consumer<WorkflowType.Builder> workflowType)
The type of the child workflow execution.
This is a convenience method that creates an instance of theWorkflowType.Builder
avoiding the need to create one manually viaWorkflowType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkflowType(WorkflowType)
.- Parameters:
workflowType
- a consumer that will call methods onWorkflowType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
workflowType(WorkflowType)
-
timeoutType
ChildWorkflowExecutionTimedOutEventAttributes.Builder timeoutType(String timeoutType)
The type of the timeout that caused the child workflow execution to time out.
- Parameters:
timeoutType
- The type of the timeout that caused the child workflow execution to time out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkflowExecutionTimeoutType
,WorkflowExecutionTimeoutType
-
timeoutType
ChildWorkflowExecutionTimedOutEventAttributes.Builder timeoutType(WorkflowExecutionTimeoutType timeoutType)
The type of the timeout that caused the child workflow execution to time out.
- Parameters:
timeoutType
- The type of the timeout that caused the child workflow execution to time out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WorkflowExecutionTimeoutType
,WorkflowExecutionTimeoutType
-
initiatedEventId
ChildWorkflowExecutionTimedOutEventAttributes.Builder initiatedEventId(Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
initiatedEventId
- The ID of theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedEventId
ChildWorkflowExecutionTimedOutEventAttributes.Builder startedEventId(Long startedEventId)
The ID of the
ChildWorkflowExecutionStarted
event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
startedEventId
- The ID of theChildWorkflowExecutionStarted
event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-