#[non_exhaustive]pub struct FSxWindowsFileServerVolumeConfigurationBuilder { /* private fields */ }Expand description
A builder for FSxWindowsFileServerVolumeConfiguration.
Implementations§
source§impl FSxWindowsFileServerVolumeConfigurationBuilder
impl FSxWindowsFileServerVolumeConfigurationBuilder
sourcepub fn file_system_id(self, input: impl Into<String>) -> Self
pub fn file_system_id(self, input: impl Into<String>) -> Self
The Amazon FSx for Windows File Server file system ID to use.
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 Amazon FSx for Windows File Server file system ID to use.
sourcepub fn get_file_system_id(&self) -> &Option<String>
pub fn get_file_system_id(&self) -> &Option<String>
The Amazon FSx for Windows File Server file system ID to use.
sourcepub fn root_directory(self, input: impl Into<String>) -> Self
pub fn root_directory(self, input: impl Into<String>) -> Self
The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
This field is required.sourcepub fn set_root_directory(self, input: Option<String>) -> Self
pub fn set_root_directory(self, input: Option<String>) -> Self
The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
sourcepub fn get_root_directory(&self) -> &Option<String>
pub fn get_root_directory(&self) -> &Option<String>
The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
The authorization configuration details for the Amazon FSx for Windows File Server file system.
This field is required.The authorization configuration details for the Amazon FSx for Windows File Server file system.
The authorization configuration details for the Amazon FSx for Windows File Server file system.
sourcepub fn build(
self,
) -> Result<FSxWindowsFileServerVolumeConfiguration, BuildError>
pub fn build( self, ) -> Result<FSxWindowsFileServerVolumeConfiguration, BuildError>
Consumes the builder and constructs a FSxWindowsFileServerVolumeConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FSxWindowsFileServerVolumeConfigurationBuilder
impl Clone for FSxWindowsFileServerVolumeConfigurationBuilder
source§fn clone(&self) -> FSxWindowsFileServerVolumeConfigurationBuilder
fn clone(&self) -> FSxWindowsFileServerVolumeConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for FSxWindowsFileServerVolumeConfigurationBuilder
impl Default for FSxWindowsFileServerVolumeConfigurationBuilder
source§fn default() -> FSxWindowsFileServerVolumeConfigurationBuilder
fn default() -> FSxWindowsFileServerVolumeConfigurationBuilder
source§impl PartialEq for FSxWindowsFileServerVolumeConfigurationBuilder
impl PartialEq for FSxWindowsFileServerVolumeConfigurationBuilder
source§fn eq(&self, other: &FSxWindowsFileServerVolumeConfigurationBuilder) -> bool
fn eq(&self, other: &FSxWindowsFileServerVolumeConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FSxWindowsFileServerVolumeConfigurationBuilder
Auto Trait Implementations§
impl Freeze for FSxWindowsFileServerVolumeConfigurationBuilder
impl RefUnwindSafe for FSxWindowsFileServerVolumeConfigurationBuilder
impl Send for FSxWindowsFileServerVolumeConfigurationBuilder
impl Sync for FSxWindowsFileServerVolumeConfigurationBuilder
impl Unpin for FSxWindowsFileServerVolumeConfigurationBuilder
impl UnwindSafe for FSxWindowsFileServerVolumeConfigurationBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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