Interface ChildWorkflowExecutionTerminatedEventAttributes.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChildWorkflowExecutionTerminatedEventAttributes.Builder,,ChildWorkflowExecutionTerminatedEventAttributes> SdkBuilder<ChildWorkflowExecutionTerminatedEventAttributes.Builder,,ChildWorkflowExecutionTerminatedEventAttributes> SdkPojo
- Enclosing class:
ChildWorkflowExecutionTerminatedEventAttributes
-
Method Summary
Modifier and TypeMethodDescriptioninitiatedEventId(Long initiatedEventId) The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutionDecision to start this child workflow execution.startedEventId(Long startedEventId) The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution) The child workflow execution that was terminated.workflowExecution(WorkflowExecution workflowExecution) The child workflow execution that was terminated.workflowType(Consumer<WorkflowType.Builder> workflowType) The type of the child workflow execution.workflowType(WorkflowType workflowType) The type of the child workflow execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
workflowExecution
ChildWorkflowExecutionTerminatedEventAttributes.Builder workflowExecution(WorkflowExecution workflowExecution) The child workflow execution that was terminated.
- Parameters:
workflowExecution- The child workflow execution that was terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowExecution
default ChildWorkflowExecutionTerminatedEventAttributes.Builder workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution) The child workflow execution that was terminated.
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:
-
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 ChildWorkflowExecutionTerminatedEventAttributes.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:
-
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
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.
-