Class CfnCluster.ClusterFsxLustreConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnCluster.ClusterFsxLustreConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ClusterFsxLustreConfigProperty>
- Enclosing interface:
CfnCluster.ClusterFsxLustreConfigProperty
@Stability(Stable)
public static final class CfnCluster.ClusterFsxLustreConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ClusterFsxLustreConfigProperty>
A builder for
CfnCluster.ClusterFsxLustreConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCluster.ClusterFsxLustreConfigProperty.getDnsName()Sets the value ofCfnCluster.ClusterFsxLustreConfigProperty.getMountName()Sets the value ofCfnCluster.ClusterFsxLustreConfigProperty.getMountPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dnsName
Sets the value ofCfnCluster.ClusterFsxLustreConfigProperty.getDnsName()- Parameters:
dnsName- The DNS name of the FSx for Lustre file system. This parameter is required.- Returns:
this
-
mountName
@Stability(Stable) public CfnCluster.ClusterFsxLustreConfigProperty.Builder mountName(String mountName) Sets the value ofCfnCluster.ClusterFsxLustreConfigProperty.getMountName()- Parameters:
mountName- The mount name of the FSx for Lustre file system. This parameter is required.- Returns:
this
-
mountPath
@Stability(Stable) public CfnCluster.ClusterFsxLustreConfigProperty.Builder mountPath(String mountPath) Sets the value ofCfnCluster.ClusterFsxLustreConfigProperty.getMountPath()- Parameters:
mountPath- The mount path for the FSx for Lustre file system.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.ClusterFsxLustreConfigProperty>- Returns:
- a new instance of
CfnCluster.ClusterFsxLustreConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-