#[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
impl StructuralPartialEq for FileSystemDataSourceBuilder
Auto Trait Implementations§
impl Freeze for FileSystemDataSourceBuilder
impl RefUnwindSafe for FileSystemDataSourceBuilder
impl Send for FileSystemDataSourceBuilder
impl Sync for FileSystemDataSourceBuilder
impl Unpin for FileSystemDataSourceBuilder
impl UnwindSafe for FileSystemDataSourceBuilder
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