Class CfnFileSystemPropsMixin.DiskIopsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fsx.CfnFileSystemPropsMixin.DiskIopsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileSystemPropsMixin.DiskIopsConfigurationProperty>
- Enclosing interface:
CfnFileSystemPropsMixin.DiskIopsConfigurationProperty
@Stability(Stable)
public static final class CfnFileSystemPropsMixin.DiskIopsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileSystemPropsMixin.DiskIopsConfigurationProperty>
A builder for
CfnFileSystemPropsMixin.DiskIopsConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFileSystemPropsMixin.DiskIopsConfigurationProperty.getIops()Sets the value ofCfnFileSystemPropsMixin.DiskIopsConfigurationProperty.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
iops
@Stability(Stable) public CfnFileSystemPropsMixin.DiskIopsConfigurationProperty.Builder iops(Number iops) Sets the value ofCfnFileSystemPropsMixin.DiskIopsConfigurationProperty.getIops()- Parameters:
iops- The total number of SSD IOPS provisioned for the file system. The minimum and maximum values for this property depend on the value ofHAPairsandStorageCapacity. The minimum value is calculated asStorageCapacity* 3 *HAPairs(3 IOPS per GB ofStorageCapacity). The maximum value is calculated as 200,000 *HAPairs.Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of
Iopsis outside of the minimum or maximum values.- Returns:
this
-
mode
@Stability(Stable) public CfnFileSystemPropsMixin.DiskIopsConfigurationProperty.Builder mode(String mode) Sets the value ofCfnFileSystemPropsMixin.DiskIopsConfigurationProperty.getMode()- Parameters:
mode- Specifies whether the file system is using theAUTOMATICsetting of SSD IOPS of 3 IOPS per GB of storage capacity, or if it using aUSER_PROVISIONEDvalue.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileSystemPropsMixin.DiskIopsConfigurationProperty>- Returns:
- a new instance of
CfnFileSystemPropsMixin.DiskIopsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-