#[non_exhaustive]pub struct FileSystemDataSourceBuilder { /* private fields */ }
Expand description
A builder for FileSystemDataSource
.
Implementations§
source§impl FileSystemDataSourceBuilder
impl FileSystemDataSourceBuilder
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.
This field is required.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 get_file_system_id(&self) -> &Option<String>
pub fn get_file_system_id(&self) -> &Option<String>
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 get_file_system_access_mode(&self) -> &Option<FileSystemAccessMode>
pub fn get_file_system_access_mode(&self) -> &Option<FileSystemAccessMode>
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.
This field is required.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 get_file_system_type(&self) -> &Option<FileSystemType>
pub fn get_file_system_type(&self) -> &Option<FileSystemType>
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.
This field is required.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 get_directory_path(&self) -> &Option<String>
pub fn get_directory_path(&self) -> &Option<String>
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
.
Trait Implementations§
source§impl Clone for FileSystemDataSourceBuilder
impl Clone for FileSystemDataSourceBuilder
source§fn clone(&self) -> FileSystemDataSourceBuilder
fn clone(&self) -> FileSystemDataSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FileSystemDataSourceBuilder
impl Debug for FileSystemDataSourceBuilder
source§impl Default for FileSystemDataSourceBuilder
impl Default for FileSystemDataSourceBuilder
source§fn default() -> FileSystemDataSourceBuilder
fn default() -> FileSystemDataSourceBuilder
source§impl PartialEq for FileSystemDataSourceBuilder
impl PartialEq for FileSystemDataSourceBuilder
source§fn eq(&self, other: &FileSystemDataSourceBuilder) -> bool
fn eq(&self, other: &FileSystemDataSourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.