Struct aws_sdk_storagegateway::operation::delete_file_share::builders::DeleteFileShareFluentBuilder
source · pub struct DeleteFileShareFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteFileShare.
Deletes a file share from an S3 File Gateway. This operation is only supported for S3 File Gateways.
Implementations§
sourcepub fn as_input(&self) -> &DeleteFileShareInputBuilder
pub fn as_input(&self) -> &DeleteFileShareInputBuilder
Access the DeleteFileShare as a reference.
sourcepub async fn send(
self
) -> Result<DeleteFileShareOutput, SdkError<DeleteFileShareError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteFileShareOutput, SdkError<DeleteFileShareError, HttpResponse>>
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 fn customize(
self
) -> CustomizableOperation<DeleteFileShareOutput, DeleteFileShareError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteFileShareOutput, DeleteFileShareError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
The Amazon Resource Name (ARN) of the file share to be deleted.
The Amazon Resource Name (ARN) of the file share to be deleted.
The Amazon Resource Name (ARN) of the file share 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 deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters the FORCE_DELETING status.
Valid Values: true | false
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 deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters the FORCE_DELETING status.
Valid Values: true | false
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 deletes a file share immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the file share enters the FORCE_DELETING status.
Valid Values: true | false
Trait Implementations§
source§fn clone(&self) -> DeleteFileShareFluentBuilder
fn clone(&self) -> DeleteFileShareFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more