Struct aws_sdk_mq::types::builders::WeeklyStartTimeBuilder
source · #[non_exhaustive]pub struct WeeklyStartTimeBuilder { /* private fields */ }
Expand description
A builder for WeeklyStartTime
.
Implementations§
source§impl WeeklyStartTimeBuilder
impl WeeklyStartTimeBuilder
sourcepub fn day_of_week(self, input: DayOfWeek) -> Self
pub fn day_of_week(self, input: DayOfWeek) -> Self
Required. The day of the week.
This field is required.sourcepub fn set_day_of_week(self, input: Option<DayOfWeek>) -> Self
pub fn set_day_of_week(self, input: Option<DayOfWeek>) -> Self
Required. The day of the week.
sourcepub fn get_day_of_week(&self) -> &Option<DayOfWeek>
pub fn get_day_of_week(&self) -> &Option<DayOfWeek>
Required. The day of the week.
sourcepub fn time_of_day(self, input: impl Into<String>) -> Self
pub fn time_of_day(self, input: impl Into<String>) -> Self
Required. The time, in 24-hour format.
This field is required.sourcepub fn set_time_of_day(self, input: Option<String>) -> Self
pub fn set_time_of_day(self, input: Option<String>) -> Self
Required. The time, in 24-hour format.
sourcepub fn get_time_of_day(&self) -> &Option<String>
pub fn get_time_of_day(&self) -> &Option<String>
Required. The time, in 24-hour format.
sourcepub fn time_zone(self, input: impl Into<String>) -> Self
pub fn time_zone(self, input: impl Into<String>) -> Self
The time zone, UTC by default, in either the Country/City format, or the UTC offset format.
sourcepub fn set_time_zone(self, input: Option<String>) -> Self
pub fn set_time_zone(self, input: Option<String>) -> Self
The time zone, UTC by default, in either the Country/City format, or the UTC offset format.
sourcepub fn get_time_zone(&self) -> &Option<String>
pub fn get_time_zone(&self) -> &Option<String>
The time zone, UTC by default, in either the Country/City format, or the UTC offset format.
sourcepub fn build(self) -> WeeklyStartTime
pub fn build(self) -> WeeklyStartTime
Consumes the builder and constructs a WeeklyStartTime
.
Trait Implementations§
source§impl Clone for WeeklyStartTimeBuilder
impl Clone for WeeklyStartTimeBuilder
source§fn clone(&self) -> WeeklyStartTimeBuilder
fn clone(&self) -> WeeklyStartTimeBuilder
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 WeeklyStartTimeBuilder
impl Debug for WeeklyStartTimeBuilder
source§impl Default for WeeklyStartTimeBuilder
impl Default for WeeklyStartTimeBuilder
source§fn default() -> WeeklyStartTimeBuilder
fn default() -> WeeklyStartTimeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for WeeklyStartTimeBuilder
impl PartialEq for WeeklyStartTimeBuilder
source§fn eq(&self, other: &WeeklyStartTimeBuilder) -> bool
fn eq(&self, other: &WeeklyStartTimeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WeeklyStartTimeBuilder
Auto Trait Implementations§
impl Freeze for WeeklyStartTimeBuilder
impl RefUnwindSafe for WeeklyStartTimeBuilder
impl Send for WeeklyStartTimeBuilder
impl Sync for WeeklyStartTimeBuilder
impl Unpin for WeeklyStartTimeBuilder
impl UnwindSafe for WeeklyStartTimeBuilder
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.