Interface PipelineExecutionStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PipelineExecutionStatus.Builder,,PipelineExecutionStatus> SdkBuilder<PipelineExecutionStatus.Builder,,PipelineExecutionStatus> SdkPojo
- Enclosing class:
PipelineExecutionStatus
@Mutable
@NotThreadSafe
public static interface PipelineExecutionStatus.Builder
extends SdkPojo, CopyableBuilder<PipelineExecutionStatus.Builder,PipelineExecutionStatus>
-
Method Summary
Modifier and TypeMethodDescriptionCurrent state of the pipeline execution.state(PipelineExecutionState state) Current state of the pipeline execution.default PipelineExecutionStatus.BuilderstateDetails(Consumer<PipelineExecutionStateDetails.Builder> stateDetails) Additional information about the execution outcome.stateDetails(PipelineExecutionStateDetails stateDetails) Additional information about the execution outcome.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
-
state
Current state of the pipeline execution.
- Parameters:
state- Current state of the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Current state of the pipeline execution.
- Parameters:
state- Current state of the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateDetails
Additional information about the execution outcome. Populated when the execution has terminated (failed or cancelled).
- Parameters:
stateDetails- Additional information about the execution outcome. Populated when the execution has terminated (failed or cancelled).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateDetails
default PipelineExecutionStatus.Builder stateDetails(Consumer<PipelineExecutionStateDetails.Builder> stateDetails) Additional information about the execution outcome. Populated when the execution has terminated (failed or cancelled).
This is a convenience method that creates an instance of thePipelineExecutionStateDetails.Builderavoiding the need to create one manually viaPipelineExecutionStateDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateDetails(PipelineExecutionStateDetails).- Parameters:
stateDetails- a consumer that will call methods onPipelineExecutionStateDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-