#[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
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 ==.impl StructuralPartialEq for CreateDbClusterSnapshotInput
Auto Trait Implementations§
impl Freeze for CreateDbClusterSnapshotInput
impl RefUnwindSafe for CreateDbClusterSnapshotInput
impl Send for CreateDbClusterSnapshotInput
impl Sync for CreateDbClusterSnapshotInput
impl Unpin for CreateDbClusterSnapshotInput
impl UnwindSafe for CreateDbClusterSnapshotInput
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