Interface StepRequiredCapabilities.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StepRequiredCapabilities.Builder,,StepRequiredCapabilities> SdkBuilder<StepRequiredCapabilities.Builder,,StepRequiredCapabilities> SdkPojo
- Enclosing class:
StepRequiredCapabilities
public static interface StepRequiredCapabilities.Builder
extends SdkPojo, CopyableBuilder<StepRequiredCapabilities.Builder,StepRequiredCapabilities>
-
Method Summary
Modifier and TypeMethodDescriptionamounts(Collection<StepAmountCapability> amounts) The capability amounts that the step requires.amounts(Consumer<StepAmountCapability.Builder>... amounts) The capability amounts that the step requires.amounts(StepAmountCapability... amounts) The capability amounts that the step requires.attributes(Collection<StepAttributeCapability> attributes) The capability attributes that the step requires.attributes(Consumer<StepAttributeCapability.Builder>... attributes) The capability attributes that the step requires.attributes(StepAttributeCapability... attributes) The capability attributes that the step requires.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
-
attributes
The capability attributes that the step requires.
- Parameters:
attributes- The capability attributes that the step requires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The capability attributes that the step requires.
- Parameters:
attributes- The capability attributes that the step requires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
StepRequiredCapabilities.Builder attributes(Consumer<StepAttributeCapability.Builder>... attributes) The capability attributes that the step requires.
This is a convenience method that creates an instance of theStepAttributeCapability.Builderavoiding the need to create one manually viaStepAttributeCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<StepAttributeCapability>).- Parameters:
attributes- a consumer that will call methods onStepAttributeCapability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
amounts
The capability amounts that the step requires.
- Parameters:
amounts- The capability amounts that the step requires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amounts
The capability amounts that the step requires.
- Parameters:
amounts- The capability amounts that the step requires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amounts
The capability amounts that the step requires.
This is a convenience method that creates an instance of theStepAmountCapability.Builderavoiding the need to create one manually viaStepAmountCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toamounts(List<StepAmountCapability>).- Parameters:
amounts- a consumer that will call methods onStepAmountCapability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-