Interface CustomerManagedFleetConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomerManagedFleetConfiguration.Builder,
,CustomerManagedFleetConfiguration> SdkBuilder<CustomerManagedFleetConfiguration.Builder,
,CustomerManagedFleetConfiguration> SdkPojo
- Enclosing class:
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.tagPropagationMode
(String tagPropagationMode) Specifies whether tags associated with a fleet are attached to workers when the worker is launched.tagPropagationMode
(TagPropagationMode tagPropagationMode) Specifies whether tags associated with a fleet are attached to workers when the worker is launched.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, sdkFieldNameToField, 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:
-
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:
-
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.
-
tagPropagationMode
Specifies whether tags associated with a fleet are attached to workers when the worker is launched.
When the
tagPropagationMode
is set toPROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH
any tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers do not change.If you don't specify
tagPropagationMode
, the default isNO_PROPAGATION
.- Parameters:
tagPropagationMode
- Specifies whether tags associated with a fleet are attached to workers when the worker is launched.When the
tagPropagationMode
is set toPROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH
any tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers do not change.If you don't specify
tagPropagationMode
, the default isNO_PROPAGATION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tagPropagationMode
Specifies whether tags associated with a fleet are attached to workers when the worker is launched.
When the
tagPropagationMode
is set toPROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH
any tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers do not change.If you don't specify
tagPropagationMode
, the default isNO_PROPAGATION
.- Parameters:
tagPropagationMode
- Specifies whether tags associated with a fleet are attached to workers when the worker is launched.When the
tagPropagationMode
is set toPROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH
any tag associated with a fleet is attached to workers when they launch. If the tags for a fleet change, the tags associated with running workers do not change.If you don't specify
tagPropagationMode
, the default isNO_PROPAGATION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-