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 Auto Scaling mode for the customer managed fleet. This parameter is required.- Returns:
this
-
workerCapabilities
@Stability(Stable) public CfnFleet.CustomerManagedFleetConfigurationProperty.Builder workerCapabilities(IResolvable workerCapabilities) - Parameters:
workerCapabilities- The worker capabilities for the customer managed fleet. This parameter is required.- Returns:
this
-
workerCapabilities
@Stability(Stable) public CfnFleet.CustomerManagedFleetConfigurationProperty.Builder workerCapabilities(CfnFleet.CustomerManagedWorkerCapabilitiesProperty workerCapabilities) - Parameters:
workerCapabilities- The worker capabilities for the customer managed fleet. 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 for the customer managed fleet.- Returns:
this
-
tagPropagationMode
@Stability(Stable) public CfnFleet.CustomerManagedFleetConfigurationProperty.Builder tagPropagationMode(String tagPropagationMode) - Parameters:
tagPropagationMode- The tag propagation mode for the customer managed fleet.- 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
-