pub struct CreateClusterSnapshotMessage {
pub cluster_identifier: String,
pub manual_snapshot_retention_period: Option<i64>,
pub snapshot_identifier: String,
pub tags: Option<Vec<Tag>>,
}
Expand description
Fields§
§cluster_identifier: String
The cluster identifier for which you want a snapshot.
manual_snapshot_retention_period: Option<i64>
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.
snapshot_identifier: String
A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS 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
A list of tag instances.
Trait Implementations§
Source§impl Clone for CreateClusterSnapshotMessage
impl Clone for CreateClusterSnapshotMessage
Source§fn clone(&self) -> CreateClusterSnapshotMessage
fn clone(&self) -> CreateClusterSnapshotMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateClusterSnapshotMessage
impl Debug for CreateClusterSnapshotMessage
Source§impl Default for CreateClusterSnapshotMessage
impl Default for CreateClusterSnapshotMessage
Source§fn default() -> CreateClusterSnapshotMessage
fn default() -> CreateClusterSnapshotMessage
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateClusterSnapshotMessage
impl PartialEq for CreateClusterSnapshotMessage
Source§fn eq(&self, other: &CreateClusterSnapshotMessage) -> bool
fn eq(&self, other: &CreateClusterSnapshotMessage) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateClusterSnapshotMessage
Auto Trait Implementations§
impl Freeze for CreateClusterSnapshotMessage
impl RefUnwindSafe for CreateClusterSnapshotMessage
impl Send for CreateClusterSnapshotMessage
impl Sync for CreateClusterSnapshotMessage
impl Unpin for CreateClusterSnapshotMessage
impl UnwindSafe for CreateClusterSnapshotMessage
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
Mutably borrows from an owned value. Read more