Class CfnCluster.EnvironmentConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnCluster.EnvironmentConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.EnvironmentConfigProperty>
- Enclosing interface:
CfnCluster.EnvironmentConfigProperty
@Stability(Stable)
public static final class CfnCluster.EnvironmentConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.EnvironmentConfigProperty>
A builder for
CfnCluster.EnvironmentConfigProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.fSxLustreConfig
(IResolvable fSxLustreConfig) Sets the value ofCfnCluster.EnvironmentConfigProperty.getFSxLustreConfig()
fSxLustreConfig
(CfnCluster.FSxLustreConfigProperty fSxLustreConfig) Sets the value ofCfnCluster.EnvironmentConfigProperty.getFSxLustreConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fSxLustreConfig
@Stability(Stable) public CfnCluster.EnvironmentConfigProperty.Builder fSxLustreConfig(IResolvable fSxLustreConfig) Sets the value ofCfnCluster.EnvironmentConfigProperty.getFSxLustreConfig()
- Parameters:
fSxLustreConfig
- Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.- Returns:
this
-
fSxLustreConfig
@Stability(Stable) public CfnCluster.EnvironmentConfigProperty.Builder fSxLustreConfig(CfnCluster.FSxLustreConfigProperty fSxLustreConfig) Sets the value ofCfnCluster.EnvironmentConfigProperty.getFSxLustreConfig()
- Parameters:
fSxLustreConfig
- Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.EnvironmentConfigProperty>
- Returns:
- a new instance of
CfnCluster.EnvironmentConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-