#[non_exhaustive]pub struct ScheduledAutoTuneDetailsBuilder { /* private fields */ }
Expand description
A builder for ScheduledAutoTuneDetails
.
Implementations§
source§impl ScheduledAutoTuneDetailsBuilder
impl ScheduledAutoTuneDetailsBuilder
sourcepub fn date(self, input: DateTime) -> Self
pub fn date(self, input: DateTime) -> Self
The date and time when the Auto-Tune action is scheduled for the domain.
sourcepub fn set_date(self, input: Option<DateTime>) -> Self
pub fn set_date(self, input: Option<DateTime>) -> Self
The date and time when the Auto-Tune action is scheduled for the domain.
sourcepub fn get_date(&self) -> &Option<DateTime>
pub fn get_date(&self) -> &Option<DateTime>
The date and time when the Auto-Tune action is scheduled for the domain.
sourcepub fn action_type(self, input: ScheduledAutoTuneActionType) -> Self
pub fn action_type(self, input: ScheduledAutoTuneActionType) -> Self
The type of Auto-Tune action.
sourcepub fn set_action_type(self, input: Option<ScheduledAutoTuneActionType>) -> Self
pub fn set_action_type(self, input: Option<ScheduledAutoTuneActionType>) -> Self
The type of Auto-Tune action.
sourcepub fn get_action_type(&self) -> &Option<ScheduledAutoTuneActionType>
pub fn get_action_type(&self) -> &Option<ScheduledAutoTuneActionType>
The type of Auto-Tune action.
sourcepub fn set_action(self, input: Option<String>) -> Self
pub fn set_action(self, input: Option<String>) -> Self
A description of the Auto-Tune action.
sourcepub fn get_action(&self) -> &Option<String>
pub fn get_action(&self) -> &Option<String>
A description of the Auto-Tune action.
sourcepub fn severity(self, input: ScheduledAutoTuneSeverityType) -> Self
pub fn severity(self, input: ScheduledAutoTuneSeverityType) -> Self
The severity of the Auto-Tune action. Valid values are LOW
, MEDIUM
, and HIGH
.
sourcepub fn set_severity(self, input: Option<ScheduledAutoTuneSeverityType>) -> Self
pub fn set_severity(self, input: Option<ScheduledAutoTuneSeverityType>) -> Self
The severity of the Auto-Tune action. Valid values are LOW
, MEDIUM
, and HIGH
.
sourcepub fn get_severity(&self) -> &Option<ScheduledAutoTuneSeverityType>
pub fn get_severity(&self) -> &Option<ScheduledAutoTuneSeverityType>
The severity of the Auto-Tune action. Valid values are LOW
, MEDIUM
, and HIGH
.
sourcepub fn build(self) -> ScheduledAutoTuneDetails
pub fn build(self) -> ScheduledAutoTuneDetails
Consumes the builder and constructs a ScheduledAutoTuneDetails
.
Trait Implementations§
source§impl Clone for ScheduledAutoTuneDetailsBuilder
impl Clone for ScheduledAutoTuneDetailsBuilder
source§fn clone(&self) -> ScheduledAutoTuneDetailsBuilder
fn clone(&self) -> ScheduledAutoTuneDetailsBuilder
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 Default for ScheduledAutoTuneDetailsBuilder
impl Default for ScheduledAutoTuneDetailsBuilder
source§fn default() -> ScheduledAutoTuneDetailsBuilder
fn default() -> ScheduledAutoTuneDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ScheduledAutoTuneDetailsBuilder
impl PartialEq for ScheduledAutoTuneDetailsBuilder
source§fn eq(&self, other: &ScheduledAutoTuneDetailsBuilder) -> bool
fn eq(&self, other: &ScheduledAutoTuneDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScheduledAutoTuneDetailsBuilder
Auto Trait Implementations§
impl Freeze for ScheduledAutoTuneDetailsBuilder
impl RefUnwindSafe for ScheduledAutoTuneDetailsBuilder
impl Send for ScheduledAutoTuneDetailsBuilder
impl Sync for ScheduledAutoTuneDetailsBuilder
impl Unpin for ScheduledAutoTuneDetailsBuilder
impl UnwindSafe for ScheduledAutoTuneDetailsBuilder
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> 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)
🔬This is a nightly-only experimental API. (
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>
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.