Class CfnCluster.FSxLustreConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnCluster.FSxLustreConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.FSxLustreConfigProperty>
- Enclosing interface:
CfnCluster.FSxLustreConfigProperty
@Stability(Stable)
public static final class CfnCluster.FSxLustreConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.FSxLustreConfigProperty>
A builder for
CfnCluster.FSxLustreConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.perUnitStorageThroughput
(Number perUnitStorageThroughput) Sets the value ofCfnCluster.FSxLustreConfigProperty.getPerUnitStorageThroughput()
Sets the value ofCfnCluster.FSxLustreConfigProperty.getSizeInGiB()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
perUnitStorageThroughput
@Stability(Stable) public CfnCluster.FSxLustreConfigProperty.Builder perUnitStorageThroughput(Number perUnitStorageThroughput) Sets the value ofCfnCluster.FSxLustreConfigProperty.getPerUnitStorageThroughput()
- Parameters:
perUnitStorageThroughput
- The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage. This parameter is required.- Returns:
this
-
sizeInGiB
Sets the value ofCfnCluster.FSxLustreConfigProperty.getSizeInGiB()
- Parameters:
sizeInGiB
- The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB). This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.FSxLustreConfigProperty>
- Returns:
- a new instance of
CfnCluster.FSxLustreConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-