#[non_exhaustive]pub struct DeleteDbClusterInput {
pub db_cluster_identifier: Option<String>,
pub skip_final_snapshot: Option<bool>,
pub final_db_snapshot_identifier: Option<String>,
}
Expand description
Represents the input to DeleteDBCluster
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.db_cluster_identifier: Option<String>
The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
-
Must match an existing
DBClusterIdentifier
.
skip_final_snapshot: 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
final_db_snapshot_identifier: 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.
Implementations§
source§impl DeleteDbClusterInput
impl DeleteDbClusterInput
sourcepub fn db_cluster_identifier(&self) -> Option<&str>
pub fn db_cluster_identifier(&self) -> Option<&str>
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) -> Option<bool>
pub fn 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) -> Option<&str>
pub fn final_db_snapshot_identifier(&self) -> Option<&str>
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.
source§impl DeleteDbClusterInput
impl DeleteDbClusterInput
sourcepub fn builder() -> DeleteDbClusterInputBuilder
pub fn builder() -> DeleteDbClusterInputBuilder
Creates a new builder-style object to manufacture DeleteDbClusterInput
.
Trait Implementations§
source§impl Clone for DeleteDbClusterInput
impl Clone for DeleteDbClusterInput
source§fn clone(&self) -> DeleteDbClusterInput
fn clone(&self) -> DeleteDbClusterInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteDbClusterInput
impl Debug for DeleteDbClusterInput
source§impl PartialEq for DeleteDbClusterInput
impl PartialEq for DeleteDbClusterInput
source§fn eq(&self, other: &DeleteDbClusterInput) -> bool
fn eq(&self, other: &DeleteDbClusterInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteDbClusterInput
Auto Trait Implementations§
impl Freeze for DeleteDbClusterInput
impl RefUnwindSafe for DeleteDbClusterInput
impl Send for DeleteDbClusterInput
impl Sync for DeleteDbClusterInput
impl Unpin for DeleteDbClusterInput
impl UnwindSafe for DeleteDbClusterInput
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