Struct aws_sdk_sagemaker::model::file_system_data_source::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FileSystemDataSource
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn file_system_id(self, input: impl Into<String>) -> Self
pub fn file_system_id(self, input: impl Into<String>) -> Self
The file system id.
sourcepub fn set_file_system_id(self, input: Option<String>) -> Self
pub fn set_file_system_id(self, input: Option<String>) -> Self
The file system id.
sourcepub fn file_system_access_mode(self, input: FileSystemAccessMode) -> Self
pub fn file_system_access_mode(self, input: FileSystemAccessMode) -> Self
The access mode of the mount of the directory associated with the channel. A directory can be mounted either in ro
(read-only) or rw
(read-write) mode.
sourcepub fn set_file_system_access_mode(
self,
input: Option<FileSystemAccessMode>
) -> Self
pub fn set_file_system_access_mode(
self,
input: Option<FileSystemAccessMode>
) -> Self
The access mode of the mount of the directory associated with the channel. A directory can be mounted either in ro
(read-only) or rw
(read-write) mode.
sourcepub fn file_system_type(self, input: FileSystemType) -> Self
pub fn file_system_type(self, input: FileSystemType) -> Self
The file system type.
sourcepub fn set_file_system_type(self, input: Option<FileSystemType>) -> Self
pub fn set_file_system_type(self, input: Option<FileSystemType>) -> Self
The file system type.
sourcepub fn directory_path(self, input: impl Into<String>) -> Self
pub fn directory_path(self, input: impl Into<String>) -> Self
The full path to the directory to associate with the channel.
sourcepub fn set_directory_path(self, input: Option<String>) -> Self
pub fn set_directory_path(self, input: Option<String>) -> Self
The full path to the directory to associate with the channel.
sourcepub fn build(self) -> FileSystemDataSource
pub fn build(self) -> FileSystemDataSource
Consumes the builder and constructs a FileSystemDataSource
.