#[non_exhaustive]pub struct AutoTuneMaintenanceSchedule {
pub start_at: Option<DateTime>,
pub duration: Option<Duration>,
pub cron_expression_for_recurrence: Option<String>,
}Expand description
This object is deprecated. Use the domain's off-peak window to schedule Auto-Tune optimizations. For migration instructions, see Migrating from Auto-Tune maintenance windows.
The Auto-Tune maintenance schedule. For more information, see Auto-Tune for Amazon OpenSearch Service.
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.start_at: Option<DateTime>The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
duration: Option<Duration>The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}.
cron_expression_for_recurrence: Option<String>A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
Implementations§
source§impl AutoTuneMaintenanceSchedule
impl AutoTuneMaintenanceSchedule
sourcepub fn start_at(&self) -> Option<&DateTime>
pub fn start_at(&self) -> Option<&DateTime>
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
sourcepub fn duration(&self) -> Option<&Duration>
pub fn duration(&self) -> Option<&Duration>
The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}.
sourcepub fn cron_expression_for_recurrence(&self) -> Option<&str>
pub fn cron_expression_for_recurrence(&self) -> Option<&str>
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
source§impl AutoTuneMaintenanceSchedule
impl AutoTuneMaintenanceSchedule
sourcepub fn builder() -> AutoTuneMaintenanceScheduleBuilder
pub fn builder() -> AutoTuneMaintenanceScheduleBuilder
Creates a new builder-style object to manufacture AutoTuneMaintenanceSchedule.
Trait Implementations§
source§impl Clone for AutoTuneMaintenanceSchedule
impl Clone for AutoTuneMaintenanceSchedule
source§fn clone(&self) -> AutoTuneMaintenanceSchedule
fn clone(&self) -> AutoTuneMaintenanceSchedule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AutoTuneMaintenanceSchedule
impl Debug for AutoTuneMaintenanceSchedule
source§impl PartialEq for AutoTuneMaintenanceSchedule
impl PartialEq for AutoTuneMaintenanceSchedule
source§fn eq(&self, other: &AutoTuneMaintenanceSchedule) -> bool
fn eq(&self, other: &AutoTuneMaintenanceSchedule) -> bool
self and other values to be equal, and is used
by ==.