Class CfnFileSystem.DataReadCacheConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnFileSystem.DataReadCacheConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFileSystem.DataReadCacheConfigurationProperty>
- Enclosing interface:
CfnFileSystem.DataReadCacheConfigurationProperty
@Stability(Stable)
public static final class CfnFileSystem.DataReadCacheConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFileSystem.DataReadCacheConfigurationProperty>
A builder for
CfnFileSystem.DataReadCacheConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFileSystem.DataReadCacheConfigurationProperty.getSizeGiB()sizingMode(String sizingMode) Sets the value ofCfnFileSystem.DataReadCacheConfigurationProperty.getSizingMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sizeGiB
@Stability(Stable) public CfnFileSystem.DataReadCacheConfigurationProperty.Builder sizeGiB(Number sizeGiB) Sets the value ofCfnFileSystem.DataReadCacheConfigurationProperty.getSizeGiB()- Parameters:
sizeGiB- Required ifSizingModeis set toUSER_PROVISIONED. Specifies the size of the file system's SSD read cache, in gibibytes (GiB).- Returns:
this
-
sizingMode
@Stability(Stable) public CfnFileSystem.DataReadCacheConfigurationProperty.Builder sizingMode(String sizingMode) Sets the value ofCfnFileSystem.DataReadCacheConfigurationProperty.getSizingMode()- Parameters:
sizingMode- Specifies how the provisioned SSD read cache is sized, as follows:.- Set to
NO_CACHEif you do not want to use an SSD read cache with your Intelligent-Tiering file system. - Set to
USER_PROVISIONEDto specify the exact size of your SSD read cache. - Set to
PROPORTIONAL_TO_THROUGHPUT_CAPACITYto have your SSD read cache automatically sized based on your throughput capacity.
- Set to
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFileSystem.DataReadCacheConfigurationProperty>- Returns:
- a new instance of
CfnFileSystem.DataReadCacheConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-