#[non_exhaustive]pub struct ModifyClusterSnapshotInput {
pub snapshot_identifier: Option<String>,
pub manual_snapshot_retention_period: Option<i32>,
pub force: Option<bool>,
}
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>
The identifier of the snapshot whose setting you want to modify.
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.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
force: Option<bool>
A Boolean option to override an exception if the retention period has already passed.
Implementations§
source§impl ModifyClusterSnapshotInput
impl ModifyClusterSnapshotInput
sourcepub fn snapshot_identifier(&self) -> Option<&str>
pub fn snapshot_identifier(&self) -> Option<&str>
The identifier of the snapshot whose setting you want to modify.
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.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
source§impl ModifyClusterSnapshotInput
impl ModifyClusterSnapshotInput
sourcepub fn builder() -> ModifyClusterSnapshotInputBuilder
pub fn builder() -> ModifyClusterSnapshotInputBuilder
Creates a new builder-style object to manufacture ModifyClusterSnapshotInput
.
Trait Implementations§
source§impl Clone for ModifyClusterSnapshotInput
impl Clone for ModifyClusterSnapshotInput
source§fn clone(&self) -> ModifyClusterSnapshotInput
fn clone(&self) -> ModifyClusterSnapshotInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyClusterSnapshotInput
impl Debug for ModifyClusterSnapshotInput
source§impl PartialEq for ModifyClusterSnapshotInput
impl PartialEq for ModifyClusterSnapshotInput
source§fn eq(&self, other: &ModifyClusterSnapshotInput) -> bool
fn eq(&self, other: &ModifyClusterSnapshotInput) -> bool
self
and other
values to be equal, and is used
by ==
.