#[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 ==
.