#[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 ==.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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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