Class CfnAppImageConfig.FileSystemConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnAppImageConfig.FileSystemConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppImageConfig.FileSystemConfigProperty>
- Enclosing interface:
- CfnAppImageConfig.FileSystemConfigProperty
@Stability(Stable)
public static final class CfnAppImageConfig.FileSystemConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppImageConfig.FileSystemConfigProperty>
A builder for
CfnAppImageConfig.FileSystemConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultGid(Number defaultGid) Sets the value ofCfnAppImageConfig.FileSystemConfigProperty.getDefaultGid()defaultUid(Number defaultUid) Sets the value ofCfnAppImageConfig.FileSystemConfigProperty.getDefaultUid()Sets the value ofCfnAppImageConfig.FileSystemConfigProperty.getMountPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultGid
@Stability(Stable) public CfnAppImageConfig.FileSystemConfigProperty.Builder defaultGid(Number defaultGid) Sets the value ofCfnAppImageConfig.FileSystemConfigProperty.getDefaultGid()- Parameters:
defaultGid- The default POSIX group ID (GID). If not specified, defaults to100.- Returns:
this
-
defaultUid
@Stability(Stable) public CfnAppImageConfig.FileSystemConfigProperty.Builder defaultUid(Number defaultUid) Sets the value ofCfnAppImageConfig.FileSystemConfigProperty.getDefaultUid()- Parameters:
defaultUid- The default POSIX user ID (UID). If not specified, defaults to1000.- Returns:
this
-
mountPath
@Stability(Stable) public CfnAppImageConfig.FileSystemConfigProperty.Builder mountPath(String mountPath) Sets the value ofCfnAppImageConfig.FileSystemConfigProperty.getMountPath()- Parameters:
mountPath- The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to * /home/sagemaker-user* .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppImageConfig.FileSystemConfigProperty>- Returns:
- a new instance of
CfnAppImageConfig.FileSystemConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-