#[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 ==
.