Struct aws_sdk_sagemaker::types::builders::FileSystemConfigBuilder
source · #[non_exhaustive]pub struct FileSystemConfigBuilder { /* private fields */ }
Expand description
A builder for FileSystemConfig
.
Implementations§
source§impl FileSystemConfigBuilder
impl FileSystemConfigBuilder
sourcepub fn mount_path(self, input: impl Into<String>) -> Self
pub fn mount_path(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_mount_path(self, input: Option<String>) -> Self
pub fn set_mount_path(self, input: Option<String>) -> Self
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.
sourcepub fn get_mount_path(&self) -> &Option<String>
pub fn get_mount_path(&self) -> &Option<String>
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.
sourcepub fn default_uid(self, input: i32) -> Self
pub fn default_uid(self, input: i32) -> Self
The default POSIX user ID (UID). If not specified, defaults to 1000
.
sourcepub fn set_default_uid(self, input: Option<i32>) -> Self
pub fn set_default_uid(self, input: Option<i32>) -> Self
The default POSIX user ID (UID). If not specified, defaults to 1000
.
sourcepub fn get_default_uid(&self) -> &Option<i32>
pub fn get_default_uid(&self) -> &Option<i32>
The default POSIX user ID (UID). If not specified, defaults to 1000
.
sourcepub fn default_gid(self, input: i32) -> Self
pub fn default_gid(self, input: i32) -> Self
The default POSIX group ID (GID). If not specified, defaults to 100
.
sourcepub fn set_default_gid(self, input: Option<i32>) -> Self
pub fn set_default_gid(self, input: Option<i32>) -> Self
The default POSIX group ID (GID). If not specified, defaults to 100
.
sourcepub fn get_default_gid(&self) -> &Option<i32>
pub fn get_default_gid(&self) -> &Option<i32>
The default POSIX group ID (GID). If not specified, defaults to 100
.
sourcepub fn build(self) -> FileSystemConfig
pub fn build(self) -> FileSystemConfig
Consumes the builder and constructs a FileSystemConfig
.
Trait Implementations§
source§impl Clone for FileSystemConfigBuilder
impl Clone for FileSystemConfigBuilder
source§fn clone(&self) -> FileSystemConfigBuilder
fn clone(&self) -> FileSystemConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FileSystemConfigBuilder
impl Debug for FileSystemConfigBuilder
source§impl Default for FileSystemConfigBuilder
impl Default for FileSystemConfigBuilder
source§fn default() -> FileSystemConfigBuilder
fn default() -> FileSystemConfigBuilder
source§impl PartialEq for FileSystemConfigBuilder
impl PartialEq for FileSystemConfigBuilder
source§fn eq(&self, other: &FileSystemConfigBuilder) -> bool
fn eq(&self, other: &FileSystemConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileSystemConfigBuilder
Auto Trait Implementations§
impl Freeze for FileSystemConfigBuilder
impl RefUnwindSafe for FileSystemConfigBuilder
impl Send for FileSystemConfigBuilder
impl Sync for FileSystemConfigBuilder
impl Unpin for FileSystemConfigBuilder
impl UnwindSafe for FileSystemConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more