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
-
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()
-
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
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSpace.CustomFileSystemProperty>
- Returns:
- a new instance of
CfnSpace.CustomFileSystemProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-