#[non_exhaustive]pub struct CreateClusterSnapshotInput {
pub snapshot_identifier: Option<String>,
pub cluster_identifier: Option<String>,
pub manual_snapshot_retention_period: Option<i32>,
pub tags: Option<Vec<Tag>>,
}
Expand description
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.snapshot_identifier: Option<String>
A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.
Constraints:
-
Cannot be null, empty, or blank
-
Must contain from 1 to 255 alphanumeric characters or hyphens
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-snapshot-id
cluster_identifier: Option<String>
The cluster identifier for which you want a snapshot.
manual_snapshot_retention_period: Option<i32>
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
A list of tag instances.
Implementations§
source§impl CreateClusterSnapshotInput
impl CreateClusterSnapshotInput
sourcepub fn snapshot_identifier(&self) -> Option<&str>
pub fn snapshot_identifier(&self) -> Option<&str>
A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the Amazon Web Services account.
Constraints:
-
Cannot be null, empty, or blank
-
Must contain from 1 to 255 alphanumeric characters or hyphens
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-snapshot-id
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The cluster identifier for which you want a snapshot.
sourcepub fn manual_snapshot_retention_period(&self) -> Option<i32>
pub fn manual_snapshot_retention_period(&self) -> Option<i32>
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
A list of tag instances.
source§impl CreateClusterSnapshotInput
impl CreateClusterSnapshotInput
sourcepub fn builder() -> CreateClusterSnapshotInputBuilder
pub fn builder() -> CreateClusterSnapshotInputBuilder
Creates a new builder-style object to manufacture CreateClusterSnapshotInput
.
Trait Implementations§
source§impl Clone for CreateClusterSnapshotInput
impl Clone for CreateClusterSnapshotInput
source§fn clone(&self) -> CreateClusterSnapshotInput
fn clone(&self) -> CreateClusterSnapshotInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateClusterSnapshotInput
impl Debug for CreateClusterSnapshotInput
source§impl PartialEq<CreateClusterSnapshotInput> for CreateClusterSnapshotInput
impl PartialEq<CreateClusterSnapshotInput> for CreateClusterSnapshotInput
source§fn eq(&self, other: &CreateClusterSnapshotInput) -> bool
fn eq(&self, other: &CreateClusterSnapshotInput) -> bool
self
and other
values to be equal, and is used
by ==
.