Struct aws_sdk_storagegateway::operation::disassociate_file_system::builders::DisassociateFileSystemFluentBuilder
source · pub struct DisassociateFileSystemFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DisassociateFileSystem.
Disassociates an Amazon FSx file system from the specified gateway. After the disassociation process finishes, the gateway can no longer access the Amazon FSx file system. This operation is only supported in the FSx File Gateway type.
Implementations§
source§impl DisassociateFileSystemFluentBuilder
impl DisassociateFileSystemFluentBuilder
sourcepub async fn send(
self
) -> Result<DisassociateFileSystemOutput, SdkError<DisassociateFileSystemError>>
pub async fn send( self ) -> Result<DisassociateFileSystemOutput, SdkError<DisassociateFileSystemError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DisassociateFileSystem, AwsResponseRetryClassifier>, SdkError<DisassociateFileSystemError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DisassociateFileSystem, AwsResponseRetryClassifier>, SdkError<DisassociateFileSystemError>>
Consumes this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
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.
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 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.
Trait Implementations§
source§impl Clone for DisassociateFileSystemFluentBuilder
impl Clone for DisassociateFileSystemFluentBuilder
source§fn clone(&self) -> DisassociateFileSystemFluentBuilder
fn clone(&self) -> DisassociateFileSystemFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more