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 ==
.