#[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
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
sourcepub fn set_desired_state(self, input: Option<AutoTuneDesiredState>) -> Self
pub fn set_desired_state(self, input: Option<AutoTuneDesiredState>) -> Self
Specifies the Auto-Tune desired state. Valid values are ENABLED, DISABLED.
sourcepub fn get_desired_state(&self) -> &Option<AutoTuneDesiredState>
pub fn get_desired_state(&self) -> &Option<AutoTuneDesiredState>
Specifies the Auto-Tune desired state. Valid values are ENABLED, 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
.
Specifies list of maitenance schedules. See the Developer Guide for more information.
sourcepub fn set_maintenance_schedules(
self,
input: Option<Vec<AutoTuneMaintenanceSchedule>>
) -> Self
pub fn set_maintenance_schedules( self, input: Option<Vec<AutoTuneMaintenanceSchedule>> ) -> Self
Specifies list of maitenance schedules. See the Developer Guide for more information.
sourcepub fn get_maintenance_schedules(
&self
) -> &Option<Vec<AutoTuneMaintenanceSchedule>>
pub fn get_maintenance_schedules( &self ) -> &Option<Vec<AutoTuneMaintenanceSchedule>>
Specifies list of maitenance schedules. See the Developer Guide for more information.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq for AutoTuneOptionsInputBuilder
impl PartialEq for AutoTuneOptionsInputBuilder
source§fn eq(&self, other: &AutoTuneOptionsInputBuilder) -> bool
fn eq(&self, other: &AutoTuneOptionsInputBuilder) -> bool
This method tests for
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.