#[non_exhaustive]pub struct AutoTuneOptionsInputBuilder { /* private fields */ }
Expand description
A builder for AutoTuneOptionsInput
.
Implementations§
source§impl AutoTuneOptionsInputBuilder
impl AutoTuneOptionsInputBuilder
sourcepub fn desired_state(self, input: AutoTuneDesiredState) -> Self
pub fn desired_state(self, input: AutoTuneDesiredState) -> Self
Whether Auto-Tune is enabled or disabled.
sourcepub fn set_desired_state(self, input: Option<AutoTuneDesiredState>) -> Self
pub fn set_desired_state(self, input: Option<AutoTuneDesiredState>) -> Self
Whether Auto-Tune is enabled or disabled.
sourcepub fn get_desired_state(&self) -> &Option<AutoTuneDesiredState>
pub fn get_desired_state(&self) -> &Option<AutoTuneDesiredState>
Whether Auto-Tune is enabled or disabled.
sourcepub fn maintenance_schedules(self, input: AutoTuneMaintenanceSchedule) -> Self
pub fn maintenance_schedules(self, input: AutoTuneMaintenanceSchedule) -> Self
Appends an item to maintenance_schedules
.
To override the contents of this collection use set_maintenance_schedules
.
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
sourcepub fn set_maintenance_schedules(
self,
input: Option<Vec<AutoTuneMaintenanceSchedule>>,
) -> Self
pub fn set_maintenance_schedules( self, input: Option<Vec<AutoTuneMaintenanceSchedule>>, ) -> Self
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
sourcepub fn get_maintenance_schedules(
&self,
) -> &Option<Vec<AutoTuneMaintenanceSchedule>>
pub fn get_maintenance_schedules( &self, ) -> &Option<Vec<AutoTuneMaintenanceSchedule>>
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
sourcepub fn use_off_peak_window(self, input: bool) -> Self
pub fn use_off_peak_window(self, input: bool) -> Self
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
sourcepub fn set_use_off_peak_window(self, input: Option<bool>) -> Self
pub fn set_use_off_peak_window(self, input: Option<bool>) -> Self
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
sourcepub fn get_use_off_peak_window(&self) -> &Option<bool>
pub fn get_use_off_peak_window(&self) -> &Option<bool>
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
sourcepub fn build(self) -> AutoTuneOptionsInput
pub fn build(self) -> AutoTuneOptionsInput
Consumes the builder and constructs a AutoTuneOptionsInput
.
Trait Implementations§
source§impl Clone for AutoTuneOptionsInputBuilder
impl Clone for AutoTuneOptionsInputBuilder
source§fn clone(&self) -> AutoTuneOptionsInputBuilder
fn clone(&self) -> AutoTuneOptionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoTuneOptionsInputBuilder
impl Debug for AutoTuneOptionsInputBuilder
source§impl Default for AutoTuneOptionsInputBuilder
impl Default for AutoTuneOptionsInputBuilder
source§fn default() -> AutoTuneOptionsInputBuilder
fn default() -> AutoTuneOptionsInputBuilder
source§impl PartialEq for AutoTuneOptionsInputBuilder
impl PartialEq for AutoTuneOptionsInputBuilder
source§fn eq(&self, other: &AutoTuneOptionsInputBuilder) -> bool
fn eq(&self, other: &AutoTuneOptionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoTuneOptionsInputBuilder
Auto Trait Implementations§
impl Freeze for AutoTuneOptionsInputBuilder
impl RefUnwindSafe for AutoTuneOptionsInputBuilder
impl Send for AutoTuneOptionsInputBuilder
impl Sync for AutoTuneOptionsInputBuilder
impl Unpin for AutoTuneOptionsInputBuilder
impl UnwindSafe for AutoTuneOptionsInputBuilder
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