Struct aws_sdk_storagegateway::operation::disassociate_file_system::builders::DisassociateFileSystemInputBuilder
source · #[non_exhaustive]pub struct DisassociateFileSystemInputBuilder { /* private fields */ }
Expand description
A builder for DisassociateFileSystemInput
.
Implementations§
source§impl DisassociateFileSystemInputBuilder
impl DisassociateFileSystemInputBuilder
sourcepub fn file_system_association_arn(self, input: impl Into<String>) -> Self
pub fn file_system_association_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the file system association to be deleted.
This field is required.sourcepub fn set_file_system_association_arn(self, input: Option<String>) -> Self
pub fn set_file_system_association_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the file system association to be deleted.
sourcepub fn get_file_system_association_arn(&self) -> &Option<String>
pub fn get_file_system_association_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the file system association to be deleted.
sourcepub fn force_delete(self, input: bool) -> Self
pub fn force_delete(self, input: bool) -> Self
If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the FORCE_DELETING
status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.
sourcepub fn set_force_delete(self, input: Option<bool>) -> Self
pub fn set_force_delete(self, input: Option<bool>) -> Self
If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the FORCE_DELETING
status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.
sourcepub fn get_force_delete(&self) -> &Option<bool>
pub fn get_force_delete(&self) -> &Option<bool>
If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the FORCE_DELETING
status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.
sourcepub fn build(self) -> Result<DisassociateFileSystemInput, BuildError>
pub fn build(self) -> Result<DisassociateFileSystemInput, BuildError>
Consumes the builder and constructs a DisassociateFileSystemInput
.
source§impl DisassociateFileSystemInputBuilder
impl DisassociateFileSystemInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DisassociateFileSystemOutput, SdkError<DisassociateFileSystemError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DisassociateFileSystemOutput, SdkError<DisassociateFileSystemError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DisassociateFileSystemInputBuilder
impl Clone for DisassociateFileSystemInputBuilder
source§fn clone(&self) -> DisassociateFileSystemInputBuilder
fn clone(&self) -> DisassociateFileSystemInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DisassociateFileSystemInputBuilder
impl Default for DisassociateFileSystemInputBuilder
source§fn default() -> DisassociateFileSystemInputBuilder
fn default() -> DisassociateFileSystemInputBuilder
source§impl PartialEq for DisassociateFileSystemInputBuilder
impl PartialEq for DisassociateFileSystemInputBuilder
source§fn eq(&self, other: &DisassociateFileSystemInputBuilder) -> bool
fn eq(&self, other: &DisassociateFileSystemInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DisassociateFileSystemInputBuilder
Auto Trait Implementations§
impl Freeze for DisassociateFileSystemInputBuilder
impl RefUnwindSafe for DisassociateFileSystemInputBuilder
impl Send for DisassociateFileSystemInputBuilder
impl Sync for DisassociateFileSystemInputBuilder
impl Unpin for DisassociateFileSystemInputBuilder
impl UnwindSafe for DisassociateFileSystemInputBuilder
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> 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