@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileSystemConfig extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.
Constructor and Description |
---|
FileSystemConfig() |
Modifier and Type | Method and Description |
---|---|
FileSystemConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getDefaultGid()
The default POSIX group ID (GID).
|
Integer |
getDefaultUid()
The default POSIX user ID (UID).
|
String |
getMountPath()
The path within the image to mount the user's EFS home directory.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultGid(Integer defaultGid)
The default POSIX group ID (GID).
|
void |
setDefaultUid(Integer defaultUid)
The default POSIX user ID (UID).
|
void |
setMountPath(String mountPath)
The path within the image to mount the user's EFS home directory.
|
String |
toString()
Returns a string representation of this object.
|
FileSystemConfig |
withDefaultGid(Integer defaultGid)
The default POSIX group ID (GID).
|
FileSystemConfig |
withDefaultUid(Integer defaultUid)
The default POSIX user ID (UID).
|
FileSystemConfig |
withMountPath(String mountPath)
The path within the image to mount the user's EFS home directory.
|
public void setMountPath(String 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.
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.public String getMountPath()
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.
public FileSystemConfig withMountPath(String 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.
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.public void setDefaultUid(Integer defaultUid)
The default POSIX user ID (UID). If not specified, defaults to 1000
.
defaultUid
- The default POSIX user ID (UID). If not specified, defaults to 1000
.public Integer getDefaultUid()
The default POSIX user ID (UID). If not specified, defaults to 1000
.
1000
.public FileSystemConfig withDefaultUid(Integer defaultUid)
The default POSIX user ID (UID). If not specified, defaults to 1000
.
defaultUid
- The default POSIX user ID (UID). If not specified, defaults to 1000
.public void setDefaultGid(Integer defaultGid)
The default POSIX group ID (GID). If not specified, defaults to 100
.
defaultGid
- The default POSIX group ID (GID). If not specified, defaults to 100
.public Integer getDefaultGid()
The default POSIX group ID (GID). If not specified, defaults to 100
.
100
.public FileSystemConfig withDefaultGid(Integer defaultGid)
The default POSIX group ID (GID). If not specified, defaults to 100
.
defaultGid
- The default POSIX group ID (GID). If not specified, defaults to 100
.public String toString()
toString
in class Object
Object.toString()
public FileSystemConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.