#[non_exhaustive]pub struct CreateDbClusterSnapshotInput {
pub db_cluster_snapshot_identifier: Option<String>,
pub db_cluster_identifier: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Represents the input of CreateDBClusterSnapshot
.
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_snapshot_identifier: Option<String>
The identifier of the cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster-snapshot1
db_cluster_identifier: Option<String>
The identifier of the cluster to create a snapshot for. This parameter is not case sensitive.
Constraints:
-
Must match the identifier of an existing
DBCluster
.
Example: my-cluster
The tags to be assigned to the cluster snapshot.
Implementations§
source§impl CreateDbClusterSnapshotInput
impl CreateDbClusterSnapshotInput
sourcepub fn db_cluster_snapshot_identifier(&self) -> Option<&str>
pub fn db_cluster_snapshot_identifier(&self) -> Option<&str>
The identifier of the cluster snapshot. This parameter is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example: my-cluster-snapshot1
sourcepub fn db_cluster_identifier(&self) -> Option<&str>
pub fn db_cluster_identifier(&self) -> Option<&str>
The identifier of the cluster to create a snapshot for. This parameter is not case sensitive.
Constraints:
-
Must match the identifier of an existing
DBCluster
.
Example: my-cluster
The tags to be assigned to the cluster snapshot.
source§impl CreateDbClusterSnapshotInput
impl CreateDbClusterSnapshotInput
sourcepub fn builder() -> CreateDbClusterSnapshotInputBuilder
pub fn builder() -> CreateDbClusterSnapshotInputBuilder
Creates a new builder-style object to manufacture CreateDbClusterSnapshotInput
.
Trait Implementations§
source§impl Clone for CreateDbClusterSnapshotInput
impl Clone for CreateDbClusterSnapshotInput
source§fn clone(&self) -> CreateDbClusterSnapshotInput
fn clone(&self) -> CreateDbClusterSnapshotInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDbClusterSnapshotInput
impl Debug for CreateDbClusterSnapshotInput
source§impl PartialEq for CreateDbClusterSnapshotInput
impl PartialEq for CreateDbClusterSnapshotInput
source§fn eq(&self, other: &CreateDbClusterSnapshotInput) -> bool
fn eq(&self, other: &CreateDbClusterSnapshotInput) -> bool
self
and other
values to be equal, and is used
by ==
.