#[non_exhaustive]pub struct AutoTuneMaintenanceScheduleBuilder { /* private fields */ }Expand description
A builder for AutoTuneMaintenanceSchedule.
Implementations§
source§impl AutoTuneMaintenanceScheduleBuilder
impl AutoTuneMaintenanceScheduleBuilder
sourcepub fn start_at(self, input: DateTime) -> Self
pub fn start_at(self, input: DateTime) -> Self
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
sourcepub fn set_start_at(self, input: Option<DateTime>) -> Self
pub fn set_start_at(self, input: Option<DateTime>) -> Self
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
sourcepub fn get_start_at(&self) -> &Option<DateTime>
pub fn get_start_at(&self) -> &Option<DateTime>
The Epoch timestamp at which the Auto-Tune maintenance schedule starts.
sourcepub fn duration(self, input: Duration) -> Self
pub fn duration(self, input: Duration) -> Self
The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}.
sourcepub fn set_duration(self, input: Option<Duration>) -> Self
pub fn set_duration(self, input: Option<Duration>) -> Self
The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}.
sourcepub fn get_duration(&self) -> &Option<Duration>
pub fn get_duration(&self) -> &Option<Duration>
The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}.
sourcepub fn cron_expression_for_recurrence(self, input: impl Into<String>) -> Self
pub fn cron_expression_for_recurrence(self, input: impl Into<String>) -> Self
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
sourcepub fn set_cron_expression_for_recurrence(self, input: Option<String>) -> Self
pub fn set_cron_expression_for_recurrence(self, input: Option<String>) -> Self
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
sourcepub fn get_cron_expression_for_recurrence(&self) -> &Option<String>
pub fn get_cron_expression_for_recurrence(&self) -> &Option<String>
A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
sourcepub fn build(self) -> AutoTuneMaintenanceSchedule
pub fn build(self) -> AutoTuneMaintenanceSchedule
Consumes the builder and constructs a AutoTuneMaintenanceSchedule.
Trait Implementations§
source§impl Clone for AutoTuneMaintenanceScheduleBuilder
impl Clone for AutoTuneMaintenanceScheduleBuilder
source§fn clone(&self) -> AutoTuneMaintenanceScheduleBuilder
fn clone(&self) -> AutoTuneMaintenanceScheduleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AutoTuneMaintenanceScheduleBuilder
impl Default for AutoTuneMaintenanceScheduleBuilder
source§fn default() -> AutoTuneMaintenanceScheduleBuilder
fn default() -> AutoTuneMaintenanceScheduleBuilder
source§impl PartialEq for AutoTuneMaintenanceScheduleBuilder
impl PartialEq for AutoTuneMaintenanceScheduleBuilder
source§fn eq(&self, other: &AutoTuneMaintenanceScheduleBuilder) -> bool
fn eq(&self, other: &AutoTuneMaintenanceScheduleBuilder) -> bool
self and other values to be equal, and is used
by ==.