Struct aws_sdk_redshift::types::SnapshotSchedule
source · #[non_exhaustive]pub struct SnapshotSchedule {
pub schedule_definitions: Option<Vec<String>>,
pub schedule_identifier: Option<String>,
pub schedule_description: Option<String>,
pub tags: Option<Vec<Tag>>,
pub next_invocations: Option<Vec<DateTime>>,
pub associated_cluster_count: Option<i32>,
pub associated_clusters: Option<Vec<ClusterAssociatedToSchedule>>,
}
Expand description
Describes a snapshot schedule. You can set a regular interval for creating snapshots of a cluster. You can also schedule snapshots for specific dates.
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.schedule_definitions: Option<Vec<String>>
A list of ScheduleDefinitions.
schedule_identifier: Option<String>
A unique identifier for the schedule.
schedule_description: Option<String>
The description of the schedule.
An optional set of tags describing the schedule.
next_invocations: Option<Vec<DateTime>>
associated_cluster_count: Option<i32>
The number of clusters associated with the schedule.
associated_clusters: Option<Vec<ClusterAssociatedToSchedule>>
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
Implementations§
source§impl SnapshotSchedule
impl SnapshotSchedule
sourcepub fn schedule_definitions(&self) -> &[String]
pub fn schedule_definitions(&self) -> &[String]
A list of ScheduleDefinitions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .schedule_definitions.is_none()
.
sourcepub fn schedule_identifier(&self) -> Option<&str>
pub fn schedule_identifier(&self) -> Option<&str>
A unique identifier for the schedule.
sourcepub fn schedule_description(&self) -> Option<&str>
pub fn schedule_description(&self) -> Option<&str>
The description of the schedule.
An optional set of tags describing the schedule.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn next_invocations(&self) -> &[DateTime]
pub fn next_invocations(&self) -> &[DateTime]
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .next_invocations.is_none()
.
sourcepub fn associated_cluster_count(&self) -> Option<i32>
pub fn associated_cluster_count(&self) -> Option<i32>
The number of clusters associated with the schedule.
sourcepub fn associated_clusters(&self) -> &[ClusterAssociatedToSchedule]
pub fn associated_clusters(&self) -> &[ClusterAssociatedToSchedule]
A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .associated_clusters.is_none()
.
source§impl SnapshotSchedule
impl SnapshotSchedule
sourcepub fn builder() -> SnapshotScheduleBuilder
pub fn builder() -> SnapshotScheduleBuilder
Creates a new builder-style object to manufacture SnapshotSchedule
.
Trait Implementations§
source§impl Clone for SnapshotSchedule
impl Clone for SnapshotSchedule
source§fn clone(&self) -> SnapshotSchedule
fn clone(&self) -> SnapshotSchedule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SnapshotSchedule
impl Debug for SnapshotSchedule
source§impl PartialEq for SnapshotSchedule
impl PartialEq for SnapshotSchedule
source§fn eq(&self, other: &SnapshotSchedule) -> bool
fn eq(&self, other: &SnapshotSchedule) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SnapshotSchedule
Auto Trait Implementations§
impl Freeze for SnapshotSchedule
impl RefUnwindSafe for SnapshotSchedule
impl Send for SnapshotSchedule
impl Sync for SnapshotSchedule
impl Unpin for SnapshotSchedule
impl UnwindSafe for SnapshotSchedule
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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