Interface Step.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Step.Builder,Step>,SdkBuilder<Step.Builder,Step>,SdkPojo
- Enclosing class:
- Step
public static interface Step.Builder extends SdkPojo, CopyableBuilder<Step.Builder,Step>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Step.Builderaction(Consumer<StepAction.Builder> action)The action of the step.Step.Builderaction(StepAction action)The action of the step.Step.Builderdescription(String description)The description of the step.Step.Buildername(String name)The name of the step.-
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
-
name
Step.Builder name(String 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
Step.Builder description(String 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
Step.Builder action(StepAction 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
default Step.Builder action(Consumer<StepAction.Builder> 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:
action(StepAction)
-
-