Struct aws_sdk_storagegateway::operation::delete_file_share::builders::DeleteFileShareInputBuilder
source · #[non_exhaustive]pub struct DeleteFileShareInputBuilder { /* private fields */ }Expand description
A builder for DeleteFileShareInput.
Implementations§
The Amazon Resource Name (ARN) of the file share to be deleted.
This field is required.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
sourcepub fn build(self) -> Result<DeleteFileShareInput, BuildError>
pub fn build(self) -> Result<DeleteFileShareInput, BuildError>
Consumes the builder and constructs a DeleteFileShareInput.
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteFileShareOutput, SdkError<DeleteFileShareError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteFileShareOutput, SdkError<DeleteFileShareError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§fn clone(&self) -> DeleteFileShareInputBuilder
fn clone(&self) -> DeleteFileShareInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§fn default() -> DeleteFileShareInputBuilder
fn default() -> DeleteFileShareInputBuilder
source§fn eq(&self, other: &DeleteFileShareInputBuilder) -> bool
fn eq(&self, other: &DeleteFileShareInputBuilder) -> bool
self and other values to be equal, and is used
by ==.