Class CfnFleet.CustomerManagedFleetConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnFleet.CustomerManagedFleetConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFleet.CustomerManagedFleetConfigurationProperty>
- Enclosing interface:
CfnFleet.CustomerManagedFleetConfigurationProperty
@Stability(Stable)
public static final class CfnFleet.CustomerManagedFleetConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFleet.CustomerManagedFleetConfigurationProperty>
A builder for
CfnFleet.CustomerManagedFleetConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFleet.CustomerManagedFleetConfigurationProperty.getMode()storageProfileId(String storageProfileId) Sets the value ofCfnFleet.CustomerManagedFleetConfigurationProperty.getStorageProfileId()tagPropagationMode(String tagPropagationMode) workerCapabilities(IResolvable workerCapabilities) workerCapabilities(CfnFleet.CustomerManagedWorkerCapabilitiesProperty workerCapabilities)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
@Stability(Stable) public CfnFleet.CustomerManagedFleetConfigurationProperty.Builder mode(String mode) Sets the value ofCfnFleet.CustomerManagedFleetConfigurationProperty.getMode()- Parameters:
mode- The AWS Auto Scaling mode for the customer managed fleet configuration. This parameter is required.- Returns:
this
-
workerCapabilities
@Stability(Stable) public CfnFleet.CustomerManagedFleetConfigurationProperty.Builder workerCapabilities(IResolvable workerCapabilities) - Parameters:
workerCapabilities- The worker capabilities for a customer managed fleet configuration. This parameter is required.- Returns:
this
-
workerCapabilities
@Stability(Stable) public CfnFleet.CustomerManagedFleetConfigurationProperty.Builder workerCapabilities(CfnFleet.CustomerManagedWorkerCapabilitiesProperty workerCapabilities) - Parameters:
workerCapabilities- The worker capabilities for a customer managed fleet configuration. This parameter is required.- Returns:
this
-
storageProfileId
@Stability(Stable) public CfnFleet.CustomerManagedFleetConfigurationProperty.Builder storageProfileId(String storageProfileId) Sets the value ofCfnFleet.CustomerManagedFleetConfigurationProperty.getStorageProfileId()- Parameters:
storageProfileId- The storage profile ID.- Returns:
this
-
tagPropagationMode
@Stability(Stable) public CfnFleet.CustomerManagedFleetConfigurationProperty.Builder tagPropagationMode(String tagPropagationMode) - Parameters:
tagPropagationMode- Specifies whether tags associated with a fleet are attached to workers when the worker is launched. When thetagPropagationModeis set toPROPAGATE_TAGS_TO_WORKERS_AT_LAUNCHany 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFleet.CustomerManagedFleetConfigurationProperty>- Returns:
- a new instance of
CfnFleet.CustomerManagedFleetConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-