Struct aws_sdk_backup::operation::delete_backup_plan::builders::DeleteBackupPlanFluentBuilder
source · pub struct DeleteBackupPlanFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteBackupPlan
.
Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will still exist.
Implementations§
source§impl DeleteBackupPlanFluentBuilder
impl DeleteBackupPlanFluentBuilder
sourcepub fn as_input(&self) -> &DeleteBackupPlanInputBuilder
pub fn as_input(&self) -> &DeleteBackupPlanInputBuilder
Access the DeleteBackupPlan as a reference.
sourcepub async fn send(
self
) -> Result<DeleteBackupPlanOutput, SdkError<DeleteBackupPlanError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteBackupPlanOutput, SdkError<DeleteBackupPlanError, 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<DeleteBackupPlanOutput, DeleteBackupPlanError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteBackupPlanOutput, DeleteBackupPlanError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn backup_plan_id(self, input: impl Into<String>) -> Self
pub fn backup_plan_id(self, input: impl Into<String>) -> Self
Uniquely identifies a backup plan.
sourcepub fn set_backup_plan_id(self, input: Option<String>) -> Self
pub fn set_backup_plan_id(self, input: Option<String>) -> Self
Uniquely identifies a backup plan.
sourcepub fn get_backup_plan_id(&self) -> &Option<String>
pub fn get_backup_plan_id(&self) -> &Option<String>
Uniquely identifies a backup plan.
Trait Implementations§
source§impl Clone for DeleteBackupPlanFluentBuilder
impl Clone for DeleteBackupPlanFluentBuilder
source§fn clone(&self) -> DeleteBackupPlanFluentBuilder
fn clone(&self) -> DeleteBackupPlanFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more