Struct aws_sdk_redshift::operation::batch_modify_cluster_snapshots::BatchModifyClusterSnapshotsInput
source · #[non_exhaustive]pub struct BatchModifyClusterSnapshotsInput {
pub snapshot_identifier_list: Option<Vec<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_list: Option<Vec<String>>
A list of snapshot identifiers you want to modify.
manual_snapshot_retention_period: Option<i32>
The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
force: Option<bool>
A boolean value indicating whether to override an exception if the retention period has passed.
Implementations§
source§impl BatchModifyClusterSnapshotsInput
impl BatchModifyClusterSnapshotsInput
sourcepub fn snapshot_identifier_list(&self) -> &[String]
pub fn snapshot_identifier_list(&self) -> &[String]
A list of snapshot identifiers you want to modify.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .snapshot_identifier_list.is_none()
.
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 you specify the value -1, the manual snapshot is retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
source§impl BatchModifyClusterSnapshotsInput
impl BatchModifyClusterSnapshotsInput
sourcepub fn builder() -> BatchModifyClusterSnapshotsInputBuilder
pub fn builder() -> BatchModifyClusterSnapshotsInputBuilder
Creates a new builder-style object to manufacture BatchModifyClusterSnapshotsInput
.
Trait Implementations§
source§impl Clone for BatchModifyClusterSnapshotsInput
impl Clone for BatchModifyClusterSnapshotsInput
source§fn clone(&self) -> BatchModifyClusterSnapshotsInput
fn clone(&self) -> BatchModifyClusterSnapshotsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for BatchModifyClusterSnapshotsInput
impl PartialEq for BatchModifyClusterSnapshotsInput
source§fn eq(&self, other: &BatchModifyClusterSnapshotsInput) -> bool
fn eq(&self, other: &BatchModifyClusterSnapshotsInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BatchModifyClusterSnapshotsInput
Auto Trait Implementations§
impl Freeze for BatchModifyClusterSnapshotsInput
impl RefUnwindSafe for BatchModifyClusterSnapshotsInput
impl Send for BatchModifyClusterSnapshotsInput
impl Sync for BatchModifyClusterSnapshotsInput
impl Unpin for BatchModifyClusterSnapshotsInput
impl UnwindSafe for BatchModifyClusterSnapshotsInput
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