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 moreAuto Trait Implementations§
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