#[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 ==
.impl StructuralPartialEq for AutoTuneMaintenanceScheduleBuilder
Auto Trait Implementations§
impl Freeze for AutoTuneMaintenanceScheduleBuilder
impl RefUnwindSafe for AutoTuneMaintenanceScheduleBuilder
impl Send for AutoTuneMaintenanceScheduleBuilder
impl Sync for AutoTuneMaintenanceScheduleBuilder
impl Unpin for AutoTuneMaintenanceScheduleBuilder
impl UnwindSafe for AutoTuneMaintenanceScheduleBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more