Interface PipelineExecutionStateDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PipelineExecutionStateDetails.Builder,,PipelineExecutionStateDetails> SdkBuilder<PipelineExecutionStateDetails.Builder,,PipelineExecutionStateDetails> SdkPojo
- Enclosing class:
PipelineExecutionStateDetails
-
Method Summary
Modifier and TypeMethodDescriptionClassification of the failure.code(PipelineErrorCode code) Classification of the failure.details(Collection<DetailedPipelineError> details) Per-step error entries to help diagnose a failed execution.details(Consumer<DetailedPipelineError.Builder>... details) Per-step error entries to help diagnose a failed execution.details(DetailedPipelineError... details) Per-step error entries to help diagnose a failed execution.Human-readable description of the 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
-
code
Classification of the failure. Present when the execution failed.
- Parameters:
code- Classification of the failure. Present when the execution failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
Classification of the failure. Present when the execution failed.
- Parameters:
code- Classification of the failure. Present when the execution failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
Human-readable description of the outcome. For a failed execution, this describes why it failed; for a cancelled execution, this is the reason you supplied when calling CancelPipelineExecution.
- Parameters:
message- Human-readable description of the outcome. For a failed execution, this describes why it failed; for a cancelled execution, this is the reason you supplied when calling CancelPipelineExecution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Per-step error entries to help diagnose a failed execution. Present when the execution failed.
- Parameters:
details- Per-step error entries to help diagnose a failed execution. Present when the execution failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Per-step error entries to help diagnose a failed execution. Present when the execution failed.
- Parameters:
details- Per-step error entries to help diagnose a failed execution. Present when the execution failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Per-step error entries to help diagnose a failed execution. Present when the execution failed.
This is a convenience method that creates an instance of theDetailedPipelineError.Builderavoiding the need to create one manually viaDetailedPipelineError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetails(List<DetailedPipelineError>).- Parameters:
details- a consumer that will call methods onDetailedPipelineError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-