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- the value to be set.- Returns:
this
-
sizingMode
@Stability(Stable) public CfnFileSystem.DataReadCacheConfigurationProperty.Builder sizingMode(String sizingMode) Sets the value ofCfnFileSystem.DataReadCacheConfigurationProperty.getSizingMode()- Parameters:
sizingMode- the value to be set.- 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
-