Interface StepStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StepStatus.Builder,,StepStatus> SdkBuilder<StepStatus.Builder,,StepStatus> SdkPojo
- Enclosing class:
StepStatus
-
Method Summary
Modifier and TypeMethodDescriptiondefault StepStatus.BuilderfailureDetails(Consumer<FailureDetails.Builder> failureDetails) The details for the step failure including reason, message, and log file path where the root cause was identified.failureDetails(FailureDetails failureDetails) The details for the step failure including reason, message, and log file path where the root cause was identified.The execution state of the cluster step.The execution state of the cluster step.default StepStatus.BuilderstateChangeReason(Consumer<StepStateChangeReason.Builder> stateChangeReason) The reason for the step execution status change.stateChangeReason(StepStateChangeReason stateChangeReason) The reason for the step execution status change.default StepStatus.Buildertimeline(Consumer<StepTimeline.Builder> timeline) The timeline of the cluster step status over time.timeline(StepTimeline timeline) The timeline of the cluster step status over time.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
The execution state of the cluster step.
- Parameters:
state- The execution state of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The execution state of the cluster step.
- Parameters:
state- The execution state of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateChangeReason
The reason for the step execution status change.
- Parameters:
stateChangeReason- The reason for the step execution status change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateChangeReason
default StepStatus.Builder stateChangeReason(Consumer<StepStateChangeReason.Builder> stateChangeReason) The reason for the step execution status change.
This is a convenience method that creates an instance of theStepStateChangeReason.Builderavoiding the need to create one manually viaStepStateChangeReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostateChangeReason(StepStateChangeReason).- Parameters:
stateChangeReason- a consumer that will call methods onStepStateChangeReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureDetails
The details for the step failure including reason, message, and log file path where the root cause was identified.
- Parameters:
failureDetails- The details for the step failure including reason, message, and log file path where the root cause was identified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureDetails
The details for the step failure including reason, message, and log file path where the root cause was identified.
This is a convenience method that creates an instance of theFailureDetails.Builderavoiding the need to create one manually viaFailureDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureDetails(FailureDetails).- Parameters:
failureDetails- a consumer that will call methods onFailureDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeline
The timeline of the cluster step status over time.
- Parameters:
timeline- The timeline of the cluster step status over time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeline
The timeline of the cluster step status over time.
This is a convenience method that creates an instance of theStepTimeline.Builderavoiding the need to create one manually viaStepTimeline.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeline(StepTimeline).- Parameters:
timeline- a consumer that will call methods onStepTimeline.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-