Class CfnClusterPropsMixin.SharedEnvironmentConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnClusterPropsMixin.SharedEnvironmentConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.SharedEnvironmentConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.SharedEnvironmentConfigProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.SharedEnvironmentConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.SharedEnvironmentConfigProperty>
A builder for
CfnClusterPropsMixin.SharedEnvironmentConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fSxLustreConfig(CfnClusterPropsMixin.FSxLustreConfigProperty fSxLustreConfig) fSxLustreConfig(IResolvable fSxLustreConfig) fSxLustreDeletionPolicy(String fSxLustreDeletionPolicy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fSxLustreConfig
@Stability(Stable) public CfnClusterPropsMixin.SharedEnvironmentConfigProperty.Builder fSxLustreConfig(IResolvable fSxLustreConfig) - Parameters:
fSxLustreConfig- Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.- Returns:
this
-
fSxLustreConfig
@Stability(Stable) public CfnClusterPropsMixin.SharedEnvironmentConfigProperty.Builder fSxLustreConfig(CfnClusterPropsMixin.FSxLustreConfigProperty fSxLustreConfig) - Parameters:
fSxLustreConfig- Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.- Returns:
this
-
fSxLustreDeletionPolicy
@Stability(Stable) public CfnClusterPropsMixin.SharedEnvironmentConfigProperty.Builder fSxLustreDeletionPolicy(String fSxLustreDeletionPolicy) - Parameters:
fSxLustreDeletionPolicy- The deletion policy for the shared FSx Lustre file system. Keep retains the FSx when RIGs are deleted. DeleteIfNotUsed deletes the FSx when no RIGs reference it.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.SharedEnvironmentConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.SharedEnvironmentConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-