Class CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty>
- Enclosing interface:
CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty
@Stability(Stable)
public static final class CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.storageSizeGiB
(Number storageSizeGiB)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storageSizeGiB
@Stability(Stable) public CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty.Builder storageSizeGiB(Number storageSizeGiB) Sets the value ofCfnCapacityProvider.ManagedInstancesStorageConfigurationProperty.getStorageSizeGiB()
- Parameters:
storageSizeGiB
- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty>
- Returns:
- a new instance of
CfnCapacityProvider.ManagedInstancesStorageConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-