pub struct ModifyClusterSnapshotMessage {
pub force: Option<bool>,
pub manual_snapshot_retention_period: Option<i64>,
pub snapshot_identifier: String,
}
Fields§
§force: Option<bool>
A Boolean option to override an exception if the retention period has already passed.
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.
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.
snapshot_identifier: String
The identifier of the snapshot whose setting you want to modify.
Trait Implementations§
Source§impl Clone for ModifyClusterSnapshotMessage
impl Clone for ModifyClusterSnapshotMessage
Source§fn clone(&self) -> ModifyClusterSnapshotMessage
fn clone(&self) -> ModifyClusterSnapshotMessage
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 ModifyClusterSnapshotMessage
impl Debug for ModifyClusterSnapshotMessage
Source§impl Default for ModifyClusterSnapshotMessage
impl Default for ModifyClusterSnapshotMessage
Source§fn default() -> ModifyClusterSnapshotMessage
fn default() -> ModifyClusterSnapshotMessage
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifyClusterSnapshotMessage
impl PartialEq for ModifyClusterSnapshotMessage
Source§fn eq(&self, other: &ModifyClusterSnapshotMessage) -> bool
fn eq(&self, other: &ModifyClusterSnapshotMessage) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ModifyClusterSnapshotMessage
Auto Trait Implementations§
impl Freeze for ModifyClusterSnapshotMessage
impl RefUnwindSafe for ModifyClusterSnapshotMessage
impl Send for ModifyClusterSnapshotMessage
impl Sync for ModifyClusterSnapshotMessage
impl Unpin for ModifyClusterSnapshotMessage
impl UnwindSafe for ModifyClusterSnapshotMessage
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