#[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
impl StructuralPartialEq for ModifyClusterSnapshotInput
Auto Trait Implementations§
impl Freeze for ModifyClusterSnapshotInput
impl RefUnwindSafe for ModifyClusterSnapshotInput
impl Send for ModifyClusterSnapshotInput
impl Sync for ModifyClusterSnapshotInput
impl Unpin for ModifyClusterSnapshotInput
impl UnwindSafe for ModifyClusterSnapshotInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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