Interface StepStatus.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<StepStatus.Builder,StepStatus>
,SdkBuilder<StepStatus.Builder,StepStatus>
,SdkPojo
- Enclosing class:
- StepStatus
public static interface StepStatus.Builder extends SdkPojo, CopyableBuilder<StepStatus.Builder,StepStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StepStatus.Builder
failureDetails(Consumer<FailureDetails.Builder> failureDetails)
The details for the step failure including reason, message, and log file path where the root cause was identified.StepStatus.Builder
failureDetails(FailureDetails failureDetails)
The details for the step failure including reason, message, and log file path where the root cause was identified.StepStatus.Builder
state(String state)
The execution state of the cluster step.StepStatus.Builder
state(StepState state)
The execution state of the cluster step.default StepStatus.Builder
stateChangeReason(Consumer<StepStateChangeReason.Builder> stateChangeReason)
The reason for the step execution status change.StepStatus.Builder
stateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.default StepStatus.Builder
timeline(Consumer<StepTimeline.Builder> timeline)
The timeline of the cluster step status over time.StepStatus.Builder
timeline(StepTimeline timeline)
The timeline of the cluster step status over time.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
state
StepStatus.Builder state(String state)
The execution state of the cluster step.
-
state
StepStatus.Builder state(StepState state)
The execution state of the cluster step.
-
stateChangeReason
StepStatus.Builder stateChangeReason(StepStateChangeReason 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.Builder
avoiding the need to create one manually viaStepStateChangeReason.builder()
.When the
Consumer
completes,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:
stateChangeReason(StepStateChangeReason)
-
failureDetails
StepStatus.Builder failureDetails(FailureDetails 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
default StepStatus.Builder failureDetails(Consumer<FailureDetails.Builder> 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.Builder
avoiding the need to create one manually viaFailureDetails.builder()
.When the
Consumer
completes,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:
failureDetails(FailureDetails)
-
timeline
StepStatus.Builder timeline(StepTimeline 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
default StepStatus.Builder timeline(Consumer<StepTimeline.Builder> timeline)
The timeline of the cluster step status over time.
This is a convenience method that creates an instance of theStepTimeline.Builder
avoiding the need to create one manually viaStepTimeline.builder()
.When the
Consumer
completes,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:
timeline(StepTimeline)
-
-