#[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 ==
.impl StructuralPartialEq for AutoTuneOptionsOutputBuilder
Auto Trait Implementations§
impl Freeze for AutoTuneOptionsOutputBuilder
impl RefUnwindSafe for AutoTuneOptionsOutputBuilder
impl Send for AutoTuneOptionsOutputBuilder
impl Sync for AutoTuneOptionsOutputBuilder
impl Unpin for AutoTuneOptionsOutputBuilder
impl UnwindSafe for AutoTuneOptionsOutputBuilder
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