Class CfnCluster.SharedEnvironmentConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnCluster.SharedEnvironmentConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.SharedEnvironmentConfigProperty>
- Enclosing interface:
CfnCluster.SharedEnvironmentConfigProperty
@Stability(Stable)
public static final class CfnCluster.SharedEnvironmentConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.SharedEnvironmentConfigProperty>
A builder for
CfnCluster.SharedEnvironmentConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fSxLustreConfig(IResolvable fSxLustreConfig) Sets the value ofCfnCluster.SharedEnvironmentConfigProperty.getFSxLustreConfig()fSxLustreConfig(CfnCluster.FSxLustreConfigProperty fSxLustreConfig) Sets the value ofCfnCluster.SharedEnvironmentConfigProperty.getFSxLustreConfig()fSxLustreDeletionPolicy(String fSxLustreDeletionPolicy) Sets the value ofCfnCluster.SharedEnvironmentConfigProperty.getFSxLustreDeletionPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fSxLustreDeletionPolicy
@Stability(Stable) public CfnCluster.SharedEnvironmentConfigProperty.Builder fSxLustreDeletionPolicy(String fSxLustreDeletionPolicy) Sets the value ofCfnCluster.SharedEnvironmentConfigProperty.getFSxLustreDeletionPolicy()- Parameters:
fSxLustreDeletionPolicy- The deletion policy for the shared FSx Lustre file system. This parameter is required. Keep retains the FSx when RIGs are deleted. DeleteIfNotUsed deletes the FSx when no RIGs reference it.- Returns:
this
-
fSxLustreConfig
@Stability(Stable) public CfnCluster.SharedEnvironmentConfigProperty.Builder fSxLustreConfig(IResolvable fSxLustreConfig) Sets the value ofCfnCluster.SharedEnvironmentConfigProperty.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.SharedEnvironmentConfigProperty.Builder fSxLustreConfig(CfnCluster.FSxLustreConfigProperty fSxLustreConfig) Sets the value ofCfnCluster.SharedEnvironmentConfigProperty.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.SharedEnvironmentConfigProperty>- Returns:
- a new instance of
CfnCluster.SharedEnvironmentConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-