#[non_exhaustive]pub struct DeleteDbClusterInputBuilder { /* private fields */ }
Expand description
A builder for DeleteDbClusterInput
.
Implementations§
source§impl DeleteDbClusterInputBuilder
impl DeleteDbClusterInputBuilder
sourcepub fn db_cluster_identifier(self, input: impl Into<String>) -> Self
pub fn db_cluster_identifier(self, input: impl Into<String>) -> Self
The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
-
Must match an existing
DBClusterIdentifier
.
sourcepub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_db_cluster_identifier(self, input: Option<String>) -> Self
The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
-
Must match an existing
DBClusterIdentifier
.
sourcepub fn get_db_cluster_identifier(&self) -> &Option<String>
pub fn get_db_cluster_identifier(&self) -> &Option<String>
The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
-
Must match an existing
DBClusterIdentifier
.
sourcepub fn skip_final_snapshot(self, input: bool) -> Self
pub fn skip_final_snapshot(self, input: bool) -> Self
Determines whether a final cluster snapshot is created before the cluster is deleted. If true
is specified, no cluster snapshot is created. If false
is specified, a cluster snapshot is created before the DB cluster is deleted.
If SkipFinalSnapshot
is false
, you must specify a FinalDBSnapshotIdentifier
parameter.
Default: false
sourcepub fn set_skip_final_snapshot(self, input: Option<bool>) -> Self
pub fn set_skip_final_snapshot(self, input: Option<bool>) -> Self
Determines whether a final cluster snapshot is created before the cluster is deleted. If true
is specified, no cluster snapshot is created. If false
is specified, a cluster snapshot is created before the DB cluster is deleted.
If SkipFinalSnapshot
is false
, you must specify a FinalDBSnapshotIdentifier
parameter.
Default: false
sourcepub fn get_skip_final_snapshot(&self) -> &Option<bool>
pub fn get_skip_final_snapshot(&self) -> &Option<bool>
Determines whether a final cluster snapshot is created before the cluster is deleted. If true
is specified, no cluster snapshot is created. If false
is specified, a cluster snapshot is created before the DB cluster is deleted.
If SkipFinalSnapshot
is false
, you must specify a FinalDBSnapshotIdentifier
parameter.
Default: false
sourcepub fn final_db_snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn final_db_snapshot_identifier(self, input: impl Into<String>) -> Self
The cluster snapshot identifier of the new cluster snapshot created when SkipFinalSnapshot
is set to false
.
Specifying this parameter and also setting the SkipFinalShapshot
parameter to true
results in an error.
Constraints:
-
Must be from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
sourcepub fn set_final_db_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_final_db_snapshot_identifier(self, input: Option<String>) -> Self
The cluster snapshot identifier of the new cluster snapshot created when SkipFinalSnapshot
is set to false
.
Specifying this parameter and also setting the SkipFinalShapshot
parameter to true
results in an error.
Constraints:
-
Must be from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
sourcepub fn get_final_db_snapshot_identifier(&self) -> &Option<String>
pub fn get_final_db_snapshot_identifier(&self) -> &Option<String>
The cluster snapshot identifier of the new cluster snapshot created when SkipFinalSnapshot
is set to false
.
Specifying this parameter and also setting the SkipFinalShapshot
parameter to true
results in an error.
Constraints:
-
Must be from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
sourcepub fn build(self) -> Result<DeleteDbClusterInput, BuildError>
pub fn build(self) -> Result<DeleteDbClusterInput, BuildError>
Consumes the builder and constructs a DeleteDbClusterInput
.
source§impl DeleteDbClusterInputBuilder
impl DeleteDbClusterInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteDbClusterOutput, SdkError<DeleteDBClusterError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteDbClusterOutput, SdkError<DeleteDBClusterError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteDbClusterInputBuilder
impl Clone for DeleteDbClusterInputBuilder
source§fn clone(&self) -> DeleteDbClusterInputBuilder
fn clone(&self) -> DeleteDbClusterInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteDbClusterInputBuilder
impl Debug for DeleteDbClusterInputBuilder
source§impl Default for DeleteDbClusterInputBuilder
impl Default for DeleteDbClusterInputBuilder
source§fn default() -> DeleteDbClusterInputBuilder
fn default() -> DeleteDbClusterInputBuilder
source§impl PartialEq for DeleteDbClusterInputBuilder
impl PartialEq for DeleteDbClusterInputBuilder
source§fn eq(&self, other: &DeleteDbClusterInputBuilder) -> bool
fn eq(&self, other: &DeleteDbClusterInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteDbClusterInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteDbClusterInputBuilder
impl RefUnwindSafe for DeleteDbClusterInputBuilder
impl Send for DeleteDbClusterInputBuilder
impl Sync for DeleteDbClusterInputBuilder
impl Unpin for DeleteDbClusterInputBuilder
impl UnwindSafe for DeleteDbClusterInputBuilder
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