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.
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.
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<WeeklyStartTimeBuilder> for WeeklyStartTimeBuilder
impl PartialEq<WeeklyStartTimeBuilder> 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 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