#[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 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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for AutoTuneMaintenanceScheduleBuilder
impl Default for AutoTuneMaintenanceScheduleBuilder
source§fn default() -> AutoTuneMaintenanceScheduleBuilder
fn default() -> AutoTuneMaintenanceScheduleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AutoTuneMaintenanceScheduleBuilder> for AutoTuneMaintenanceScheduleBuilder
impl PartialEq<AutoTuneMaintenanceScheduleBuilder> for AutoTuneMaintenanceScheduleBuilder
source§fn eq(&self, other: &AutoTuneMaintenanceScheduleBuilder) -> bool
fn eq(&self, other: &AutoTuneMaintenanceScheduleBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.