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 moreAuto Trait Implementations§
impl Freeze for DeleteBackupPlanFluentBuilder
impl !RefUnwindSafe for DeleteBackupPlanFluentBuilder
impl Send for DeleteBackupPlanFluentBuilder
impl Sync for DeleteBackupPlanFluentBuilder
impl Unpin for DeleteBackupPlanFluentBuilder
impl !UnwindSafe for DeleteBackupPlanFluentBuilder
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