Struct aws_sdk_drs::operation::delete_recovery_instance::builders::DeleteRecoveryInstanceFluentBuilder
source · pub struct DeleteRecoveryInstanceFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteRecoveryInstance.
Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.
Implementations§
source§impl DeleteRecoveryInstanceFluentBuilder
impl DeleteRecoveryInstanceFluentBuilder
sourcepub fn as_input(&self) -> &DeleteRecoveryInstanceInputBuilder
pub fn as_input(&self) -> &DeleteRecoveryInstanceInputBuilder
Access the DeleteRecoveryInstance as a reference.
sourcepub async fn send(
self
) -> Result<DeleteRecoveryInstanceOutput, SdkError<DeleteRecoveryInstanceError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteRecoveryInstanceOutput, SdkError<DeleteRecoveryInstanceError, 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<DeleteRecoveryInstanceOutput, DeleteRecoveryInstanceError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteRecoveryInstanceOutput, DeleteRecoveryInstanceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn recovery_instance_id(self, input: impl Into<String>) -> Self
pub fn recovery_instance_id(self, input: impl Into<String>) -> Self
The ID of the Recovery Instance to be deleted.
sourcepub fn set_recovery_instance_id(self, input: Option<String>) -> Self
pub fn set_recovery_instance_id(self, input: Option<String>) -> Self
The ID of the Recovery Instance to be deleted.
sourcepub fn get_recovery_instance_id(&self) -> &Option<String>
pub fn get_recovery_instance_id(&self) -> &Option<String>
The ID of the Recovery Instance to be deleted.
Trait Implementations§
source§impl Clone for DeleteRecoveryInstanceFluentBuilder
impl Clone for DeleteRecoveryInstanceFluentBuilder
source§fn clone(&self) -> DeleteRecoveryInstanceFluentBuilder
fn clone(&self) -> DeleteRecoveryInstanceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more