pub struct DeleteVolumeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteVolume
.
Deletes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
Implementations§
source§impl DeleteVolumeFluentBuilder
impl DeleteVolumeFluentBuilder
sourcepub fn as_input(&self) -> &DeleteVolumeInputBuilder
pub fn as_input(&self) -> &DeleteVolumeInputBuilder
Access the DeleteVolume as a reference.
sourcepub async fn send(
self
) -> Result<DeleteVolumeOutput, SdkError<DeleteVolumeError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteVolumeOutput, SdkError<DeleteVolumeError, 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<DeleteVolumeOutput, DeleteVolumeError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteVolumeOutput, DeleteVolumeError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn volume_id(self, input: impl Into<String>) -> Self
pub fn volume_id(self, input: impl Into<String>) -> Self
The ID of the volume that you are deleting.
sourcepub fn set_volume_id(self, input: Option<String>) -> Self
pub fn set_volume_id(self, input: Option<String>) -> Self
The ID of the volume that you are deleting.
sourcepub fn get_volume_id(&self) -> &Option<String>
pub fn get_volume_id(&self) -> &Option<String>
The ID of the volume that you are deleting.
sourcepub fn ontap_configuration(self, input: DeleteVolumeOntapConfiguration) -> Self
pub fn ontap_configuration(self, input: DeleteVolumeOntapConfiguration) -> Self
For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup. To apply tags to the backup, you must have the fsx:TagResource
permission.
sourcepub fn set_ontap_configuration(
self,
input: Option<DeleteVolumeOntapConfiguration>
) -> Self
pub fn set_ontap_configuration( self, input: Option<DeleteVolumeOntapConfiguration> ) -> Self
For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup. To apply tags to the backup, you must have the fsx:TagResource
permission.
sourcepub fn get_ontap_configuration(&self) -> &Option<DeleteVolumeOntapConfiguration>
pub fn get_ontap_configuration(&self) -> &Option<DeleteVolumeOntapConfiguration>
For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup. To apply tags to the backup, you must have the fsx:TagResource
permission.
sourcepub fn open_zfs_configuration(
self,
input: DeleteVolumeOpenZfsConfiguration
) -> Self
pub fn open_zfs_configuration( self, input: DeleteVolumeOpenZfsConfiguration ) -> Self
For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.
sourcepub fn set_open_zfs_configuration(
self,
input: Option<DeleteVolumeOpenZfsConfiguration>
) -> Self
pub fn set_open_zfs_configuration( self, input: Option<DeleteVolumeOpenZfsConfiguration> ) -> Self
For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.
sourcepub fn get_open_zfs_configuration(
&self
) -> &Option<DeleteVolumeOpenZfsConfiguration>
pub fn get_open_zfs_configuration( &self ) -> &Option<DeleteVolumeOpenZfsConfiguration>
For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.
Trait Implementations§
source§impl Clone for DeleteVolumeFluentBuilder
impl Clone for DeleteVolumeFluentBuilder
source§fn clone(&self) -> DeleteVolumeFluentBuilder
fn clone(&self) -> DeleteVolumeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more