#[non_exhaustive]pub struct SlotStartTimeRangeRequestBuilder { /* private fields */ }
Expand description
A builder for SlotStartTimeRangeRequest
.
Implementations§
source§impl SlotStartTimeRangeRequestBuilder
impl SlotStartTimeRangeRequestBuilder
sourcepub fn earliest_time(self, input: DateTime) -> Self
pub fn earliest_time(self, input: DateTime) -> Self
The earliest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn set_earliest_time(self, input: Option<DateTime>) -> Self
pub fn set_earliest_time(self, input: Option<DateTime>) -> Self
The earliest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn get_earliest_time(&self) -> &Option<DateTime>
pub fn get_earliest_time(&self) -> &Option<DateTime>
The earliest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn latest_time(self, input: DateTime) -> Self
pub fn latest_time(self, input: DateTime) -> Self
The latest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn set_latest_time(self, input: Option<DateTime>) -> Self
pub fn set_latest_time(self, input: Option<DateTime>) -> Self
The latest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn get_latest_time(&self) -> &Option<DateTime>
pub fn get_latest_time(&self) -> &Option<DateTime>
The latest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn build(self) -> SlotStartTimeRangeRequest
pub fn build(self) -> SlotStartTimeRangeRequest
Consumes the builder and constructs a SlotStartTimeRangeRequest
.
Trait Implementations§
source§impl Clone for SlotStartTimeRangeRequestBuilder
impl Clone for SlotStartTimeRangeRequestBuilder
source§fn clone(&self) -> SlotStartTimeRangeRequestBuilder
fn clone(&self) -> SlotStartTimeRangeRequestBuilder
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 SlotStartTimeRangeRequestBuilder
impl Default for SlotStartTimeRangeRequestBuilder
source§fn default() -> SlotStartTimeRangeRequestBuilder
fn default() -> SlotStartTimeRangeRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SlotStartTimeRangeRequestBuilder> for SlotStartTimeRangeRequestBuilder
impl PartialEq<SlotStartTimeRangeRequestBuilder> for SlotStartTimeRangeRequestBuilder
source§fn eq(&self, other: &SlotStartTimeRangeRequestBuilder) -> bool
fn eq(&self, other: &SlotStartTimeRangeRequestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlotStartTimeRangeRequestBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SlotStartTimeRangeRequestBuilder
impl Send for SlotStartTimeRangeRequestBuilder
impl Sync for SlotStartTimeRangeRequestBuilder
impl Unpin for SlotStartTimeRangeRequestBuilder
impl UnwindSafe for SlotStartTimeRangeRequestBuilder
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