public static interface StepStatus.Builder extends SdkPojo, CopyableBuilder<StepStatus.Builder,StepStatus>
Modifier and Type | Method and 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(StepState state)
The execution state of the cluster step.
|
StepStatus.Builder |
state(String 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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
StepStatus.Builder state(String state)
The execution state of the cluster step.
StepStatus.Builder state(StepState state)
The execution state of the cluster step.
StepStatus.Builder stateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.
stateChangeReason
- The reason for the step execution status change.default StepStatus.Builder stateChangeReason(Consumer<StepStateChangeReason.Builder> stateChangeReason)
The reason for the step execution status change.
This is a convenience that creates an instance of theStepStateChangeReason.Builder
avoiding the need
to create one manually via StepStateChangeReason.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to stateChangeReason(StepStateChangeReason)
.stateChangeReason
- a consumer that will call methods on StepStateChangeReason.Builder
stateChangeReason(StepStateChangeReason)
StepStatus.Builder failureDetails(FailureDetails failureDetails)
The details for the step failure including reason, message, and log file path where the root cause was identified.
failureDetails
- The details for the step failure including reason, message, and log file path where the root cause was
identified.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 that creates an instance of theFailureDetails.Builder
avoiding the need to
create one manually via FailureDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to failureDetails(FailureDetails)
.failureDetails
- a consumer that will call methods on FailureDetails.Builder
failureDetails(FailureDetails)
StepStatus.Builder timeline(StepTimeline timeline)
The timeline of the cluster step status over time.
timeline
- The timeline of the cluster step status over time.default StepStatus.Builder timeline(Consumer<StepTimeline.Builder> timeline)
The timeline of the cluster step status over time.
This is a convenience that creates an instance of theStepTimeline.Builder
avoiding the need to
create one manually via StepTimeline.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to timeline(StepTimeline)
.timeline
- a consumer that will call methods on StepTimeline.Builder
timeline(StepTimeline)
Copyright © 2021. All rights reserved.