Struct aws_sdk_docdb::operation::delete_db_cluster_snapshot::builders::DeleteDbClusterSnapshotInputBuilder
source · #[non_exhaustive]pub struct DeleteDbClusterSnapshotInputBuilder { /* private fields */ }Expand description
A builder for DeleteDbClusterSnapshotInput.
Implementations§
source§impl DeleteDbClusterSnapshotInputBuilder
impl DeleteDbClusterSnapshotInputBuilder
sourcepub fn db_cluster_snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn db_cluster_snapshot_identifier(self, input: impl Into<String>) -> Self
The identifier of the cluster snapshot to delete.
Constraints: Must be the name of an existing cluster snapshot in the available state.
sourcepub fn set_db_cluster_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_db_cluster_snapshot_identifier(self, input: Option<String>) -> Self
The identifier of the cluster snapshot to delete.
Constraints: Must be the name of an existing cluster snapshot in the available state.
sourcepub fn get_db_cluster_snapshot_identifier(&self) -> &Option<String>
pub fn get_db_cluster_snapshot_identifier(&self) -> &Option<String>
The identifier of the cluster snapshot to delete.
Constraints: Must be the name of an existing cluster snapshot in the available state.
sourcepub fn build(self) -> Result<DeleteDbClusterSnapshotInput, BuildError>
pub fn build(self) -> Result<DeleteDbClusterSnapshotInput, BuildError>
Consumes the builder and constructs a DeleteDbClusterSnapshotInput.
source§impl DeleteDbClusterSnapshotInputBuilder
impl DeleteDbClusterSnapshotInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteDbClusterSnapshotOutput, SdkError<DeleteDBClusterSnapshotError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteDbClusterSnapshotOutput, SdkError<DeleteDBClusterSnapshotError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteDbClusterSnapshotInputBuilder
impl Clone for DeleteDbClusterSnapshotInputBuilder
source§fn clone(&self) -> DeleteDbClusterSnapshotInputBuilder
fn clone(&self) -> DeleteDbClusterSnapshotInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DeleteDbClusterSnapshotInputBuilder
impl Default for DeleteDbClusterSnapshotInputBuilder
source§fn default() -> DeleteDbClusterSnapshotInputBuilder
fn default() -> DeleteDbClusterSnapshotInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteDbClusterSnapshotInputBuilder
impl PartialEq for DeleteDbClusterSnapshotInputBuilder
source§fn eq(&self, other: &DeleteDbClusterSnapshotInputBuilder) -> bool
fn eq(&self, other: &DeleteDbClusterSnapshotInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteDbClusterSnapshotInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteDbClusterSnapshotInputBuilder
impl Send for DeleteDbClusterSnapshotInputBuilder
impl Sync for DeleteDbClusterSnapshotInputBuilder
impl Unpin for DeleteDbClusterSnapshotInputBuilder
impl UnwindSafe for DeleteDbClusterSnapshotInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.