Interface CustomerManagedFleetConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomerManagedFleetConfiguration.Builder,
,CustomerManagedFleetConfiguration> SdkBuilder<CustomerManagedFleetConfiguration.Builder,
,CustomerManagedFleetConfiguration> SdkPojo
- Enclosing class:
CustomerManagedFleetConfiguration
public static interface CustomerManagedFleetConfiguration.Builder
extends SdkPojo, CopyableBuilder<CustomerManagedFleetConfiguration.Builder,CustomerManagedFleetConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe Auto Scaling mode for the customer managed fleet configuration.mode
(AutoScalingMode mode) The Auto Scaling mode for the customer managed fleet configuration.storageProfileId
(String storageProfileId) The storage profile ID.workerCapabilities
(Consumer<CustomerManagedWorkerCapabilities.Builder> workerCapabilities) The worker capabilities for a customer managed fleet configuration.workerCapabilities
(CustomerManagedWorkerCapabilities workerCapabilities) The worker capabilities for a customer managed fleet configuration.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
-
mode
The Auto Scaling mode for the customer managed fleet configuration.
- Parameters:
mode
- The Auto Scaling mode for the customer managed fleet configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The Auto Scaling mode for the customer managed fleet configuration.
- Parameters:
mode
- The Auto Scaling mode for the customer managed fleet configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageProfileId
The storage profile ID.
- Parameters:
storageProfileId
- The storage profile ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerCapabilities
CustomerManagedFleetConfiguration.Builder workerCapabilities(CustomerManagedWorkerCapabilities workerCapabilities) The worker capabilities for a customer managed fleet configuration.
- Parameters:
workerCapabilities
- The worker capabilities for a customer managed fleet configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workerCapabilities
default CustomerManagedFleetConfiguration.Builder workerCapabilities(Consumer<CustomerManagedWorkerCapabilities.Builder> workerCapabilities) The worker capabilities for a customer managed fleet configuration.
This is a convenience method that creates an instance of theCustomerManagedWorkerCapabilities.Builder
avoiding the need to create one manually viaCustomerManagedWorkerCapabilities.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkerCapabilities(CustomerManagedWorkerCapabilities)
.- Parameters:
workerCapabilities
- a consumer that will call methods onCustomerManagedWorkerCapabilities.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-