#[non_exhaustive]pub struct AutoTuneOptionsOutputBuilder { /* private fields */ }
Expand description
A builder for AutoTuneOptionsOutput
.
Implementations§
source§impl AutoTuneOptionsOutputBuilder
impl AutoTuneOptionsOutputBuilder
sourcepub fn state(self, input: AutoTuneState) -> Self
pub fn state(self, input: AutoTuneState) -> Self
The current state of Auto-Tune on the domain.
sourcepub fn set_state(self, input: Option<AutoTuneState>) -> Self
pub fn set_state(self, input: Option<AutoTuneState>) -> Self
The current state of Auto-Tune on the domain.
sourcepub fn get_state(&self) -> &Option<AutoTuneState>
pub fn get_state(&self) -> &Option<AutoTuneState>
The current state of Auto-Tune on the domain.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
Any errors that occurred while enabling or disabling Auto-Tune.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
Any errors that occurred while enabling or disabling Auto-Tune.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
Any errors that occurred while enabling or disabling Auto-Tune.
sourcepub fn use_off_peak_window(self, input: bool) -> Self
pub fn use_off_peak_window(self, input: bool) -> Self
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
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 the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
sourcepub fn get_use_off_peak_window(&self) -> &Option<bool>
pub fn get_use_off_peak_window(&self) -> &Option<bool>
Whether the domain's off-peak window will be used to deploy Auto-Tune changes rather than a maintenance schedule.
sourcepub fn build(self) -> AutoTuneOptionsOutput
pub fn build(self) -> AutoTuneOptionsOutput
Consumes the builder and constructs a AutoTuneOptionsOutput
.
Trait Implementations§
source§impl Clone for AutoTuneOptionsOutputBuilder
impl Clone for AutoTuneOptionsOutputBuilder
source§fn clone(&self) -> AutoTuneOptionsOutputBuilder
fn clone(&self) -> AutoTuneOptionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoTuneOptionsOutputBuilder
impl Debug for AutoTuneOptionsOutputBuilder
source§impl Default for AutoTuneOptionsOutputBuilder
impl Default for AutoTuneOptionsOutputBuilder
source§fn default() -> AutoTuneOptionsOutputBuilder
fn default() -> AutoTuneOptionsOutputBuilder
source§impl PartialEq for AutoTuneOptionsOutputBuilder
impl PartialEq for AutoTuneOptionsOutputBuilder
source§fn eq(&self, other: &AutoTuneOptionsOutputBuilder) -> bool
fn eq(&self, other: &AutoTuneOptionsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.