#[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
Specifies timestamp at which Auto-Tune maintenance schedule start.
sourcepub fn set_start_at(self, input: Option<DateTime>) -> Self
pub fn set_start_at(self, input: Option<DateTime>) -> Self
Specifies timestamp at which Auto-Tune maintenance schedule start.
sourcepub fn get_start_at(&self) -> &Option<DateTime>
pub fn get_start_at(&self) -> &Option<DateTime>
Specifies timestamp at which Auto-Tune maintenance schedule start.
sourcepub fn duration(self, input: Duration) -> Self
pub fn duration(self, input: Duration) -> Self
Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.
sourcepub fn set_duration(self, input: Option<Duration>) -> Self
pub fn set_duration(self, input: Option<Duration>) -> Self
Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.
sourcepub fn get_duration(&self) -> &Option<Duration>
pub fn get_duration(&self) -> &Option<Duration>
Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.
sourcepub fn cron_expression_for_recurrence(self, input: impl Into<String>) -> Self
pub fn cron_expression_for_recurrence(self, input: impl Into<String>) -> Self
Specifies cron expression for a recurring maintenance schedule. See the Developer Guide for more information.
sourcepub fn set_cron_expression_for_recurrence(self, input: Option<String>) -> Self
pub fn set_cron_expression_for_recurrence(self, input: Option<String>) -> Self
Specifies cron expression for a recurring maintenance schedule. See the Developer Guide for more information.
sourcepub fn get_cron_expression_for_recurrence(&self) -> &Option<String>
pub fn get_cron_expression_for_recurrence(&self) -> &Option<String>
Specifies cron expression for a recurring maintenance schedule. See the Developer Guide for more information.
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 ==
.