Interface ChildWorkflowExecutionCanceledEventAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChildWorkflowExecutionCanceledEventAttributes.Builder,ChildWorkflowExecutionCanceledEventAttributes>,SdkBuilder<ChildWorkflowExecutionCanceledEventAttributes.Builder,ChildWorkflowExecutionCanceledEventAttributes>,SdkPojo
- Enclosing class:
- ChildWorkflowExecutionCanceledEventAttributes
public static interface ChildWorkflowExecutionCanceledEventAttributes.Builder extends SdkPojo, CopyableBuilder<ChildWorkflowExecutionCanceledEventAttributes.Builder,ChildWorkflowExecutionCanceledEventAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ChildWorkflowExecutionCanceledEventAttributes.Builderdetails(String details)Details of the cancellation (if provided).ChildWorkflowExecutionCanceledEventAttributes.BuilderinitiatedEventId(Long initiatedEventId)The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutionDecision to start this child workflow execution.ChildWorkflowExecutionCanceledEventAttributes.BuilderstartedEventId(Long startedEventId)The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.default ChildWorkflowExecutionCanceledEventAttributes.BuilderworkflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution)The child workflow execution that was canceled.ChildWorkflowExecutionCanceledEventAttributes.BuilderworkflowExecution(WorkflowExecution workflowExecution)The child workflow execution that was canceled.default ChildWorkflowExecutionCanceledEventAttributes.BuilderworkflowType(Consumer<WorkflowType.Builder> workflowType)The type of the child workflow execution.ChildWorkflowExecutionCanceledEventAttributes.BuilderworkflowType(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
ChildWorkflowExecutionCanceledEventAttributes.Builder workflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was canceled.
- Parameters:
workflowExecution- The child workflow execution that was canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowExecution
default ChildWorkflowExecutionCanceledEventAttributes.Builder workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution)
The child workflow execution that was canceled.
This is a convenience method that creates an instance of theWorkflowExecution.Builderavoiding the need to create one manually viaWorkflowExecution.builder().When the
Consumercompletes,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
ChildWorkflowExecutionCanceledEventAttributes.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 ChildWorkflowExecutionCanceledEventAttributes.Builder workflowType(Consumer<WorkflowType.Builder> workflowType)
The type of the child workflow execution.
This is a convenience method that creates an instance of theWorkflowType.Builderavoiding the need to create one manually viaWorkflowType.builder().When the
Consumercompletes,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)
-
details
ChildWorkflowExecutionCanceledEventAttributes.Builder details(String details)
Details of the cancellation (if provided).
- Parameters:
details- Details of the cancellation (if provided).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initiatedEventId
ChildWorkflowExecutionCanceledEventAttributes.Builder initiatedEventId(Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutionDecision 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 theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutionDecision 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
ChildWorkflowExecutionCanceledEventAttributes.Builder startedEventId(Long startedEventId)
The ID of the
ChildWorkflowExecutionStartedevent 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 theChildWorkflowExecutionStartedevent 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.
-
-