Interface FleetCapabilities.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FleetCapabilities.Builder,
,FleetCapabilities> SdkBuilder<FleetCapabilities.Builder,
,FleetCapabilities> SdkPojo
- Enclosing class:
FleetCapabilities
public static interface FleetCapabilities.Builder
extends SdkPojo, CopyableBuilder<FleetCapabilities.Builder,FleetCapabilities>
-
Method Summary
Modifier and TypeMethodDescriptionamounts
(Collection<FleetAmountCapability> amounts) Amount capabilities of the fleet.amounts
(Consumer<FleetAmountCapability.Builder>... amounts) Amount capabilities of the fleet.amounts
(FleetAmountCapability... amounts) Amount capabilities of the fleet.attributes
(Collection<FleetAttributeCapability> attributes) Attribute capabilities of the fleet.attributes
(Consumer<FleetAttributeCapability.Builder>... attributes) Attribute capabilities of the fleet.attributes
(FleetAttributeCapability... attributes) Attribute capabilities of the fleet.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, sdkFields
-
Method Details
-
amounts
Amount capabilities of the fleet.
- Parameters:
amounts
- Amount capabilities of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amounts
Amount capabilities of the fleet.
- Parameters:
amounts
- Amount capabilities of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amounts
Amount capabilities of the fleet.
This is a convenience method that creates an instance of theFleetAmountCapability.Builder
avoiding the need to create one manually viaFleetAmountCapability.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toamounts(List<FleetAmountCapability>)
.- Parameters:
amounts
- a consumer that will call methods onFleetAmountCapability.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
Attribute capabilities of the fleet.
- Parameters:
attributes
- Attribute capabilities of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Attribute capabilities of the fleet.
- Parameters:
attributes
- Attribute capabilities of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Attribute capabilities of the fleet.
This is a convenience method that creates an instance of theFleetAttributeCapability.Builder
avoiding the need to create one manually viaFleetAttributeCapability.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<FleetAttributeCapability>)
.- Parameters:
attributes
- a consumer that will call methods onFleetAttributeCapability.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-