Class CfnSpace.CustomFileSystemProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnSpace.CustomFileSystemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpace.CustomFileSystemProperty>
- Enclosing interface:
CfnSpace.CustomFileSystemProperty
@Stability(Stable)
public static final class CfnSpace.CustomFileSystemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpace.CustomFileSystemProperty>
A builder for
CfnSpace.CustomFileSystemProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.efsFileSystem(IResolvable efsFileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getEfsFileSystem()efsFileSystem(CfnSpace.EFSFileSystemProperty efsFileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getEfsFileSystem()fSxLustreFileSystem(IResolvable fSxLustreFileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getFSxLustreFileSystem()fSxLustreFileSystem(CfnSpace.FSxLustreFileSystemProperty fSxLustreFileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getFSxLustreFileSystem()s3FileSystem(IResolvable s3FileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getS3FileSystem()s3FileSystem(CfnSpace.S3FileSystemProperty s3FileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getS3FileSystem()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
efsFileSystem
@Stability(Stable) public CfnSpace.CustomFileSystemProperty.Builder efsFileSystem(IResolvable efsFileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getEfsFileSystem()- Parameters:
efsFileSystem- A custom file system in Amazon EFS.- Returns:
this
-
efsFileSystem
@Stability(Stable) public CfnSpace.CustomFileSystemProperty.Builder efsFileSystem(CfnSpace.EFSFileSystemProperty efsFileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getEfsFileSystem()- Parameters:
efsFileSystem- A custom file system in Amazon EFS.- Returns:
this
-
fSxLustreFileSystem
@Stability(Stable) public CfnSpace.CustomFileSystemProperty.Builder fSxLustreFileSystem(IResolvable fSxLustreFileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getFSxLustreFileSystem()- Parameters:
fSxLustreFileSystem- A custom file system in Amazon FSx for Lustre.- Returns:
this
-
fSxLustreFileSystem
@Stability(Stable) public CfnSpace.CustomFileSystemProperty.Builder fSxLustreFileSystem(CfnSpace.FSxLustreFileSystemProperty fSxLustreFileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getFSxLustreFileSystem()- Parameters:
fSxLustreFileSystem- A custom file system in Amazon FSx for Lustre.- Returns:
this
-
s3FileSystem
@Stability(Stable) public CfnSpace.CustomFileSystemProperty.Builder s3FileSystem(IResolvable s3FileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getS3FileSystem()- Parameters:
s3FileSystem- A custom file system in Amazon S3. This is only supported in Amazon SageMaker Unified Studio.- Returns:
this
-
s3FileSystem
@Stability(Stable) public CfnSpace.CustomFileSystemProperty.Builder s3FileSystem(CfnSpace.S3FileSystemProperty s3FileSystem) Sets the value ofCfnSpace.CustomFileSystemProperty.getS3FileSystem()- Parameters:
s3FileSystem- A custom file system in Amazon S3. This is only supported in Amazon SageMaker Unified Studio.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpace.CustomFileSystemProperty>- Returns:
- a new instance of
CfnSpace.CustomFileSystemProperty - Throws:
NullPointerException- if any required attribute was not provided
-