Interface Step.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Step.Builder,,Step> SdkBuilder<Step.Builder,,Step> SdkPojo
- Enclosing class:
Step
-
Method Summary
Modifier and TypeMethodDescriptiondefault Step.Builderaction(Consumer<StepAction.Builder> action) The action of the step.action(StepAction action) The action of the step.description(String description) The description of the step.The name of the step.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, sdkFields
-
Method Details
-
name
The name of the step.
- Parameters:
name- The name of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the step.
- Parameters:
description- The description of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action of the step.
- Parameters:
action- The action of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action of the step.
This is a convenience method that creates an instance of theStepAction.Builderavoiding the need to create one manually viaStepAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(StepAction).- Parameters:
action- a consumer that will call methods onStepAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-