#[non_exhaustive]pub struct SlotDateTimeRangeRequestBuilder { /* private fields */ }
Expand description
A builder for SlotDateTimeRangeRequest
.
Implementations§
source§impl SlotDateTimeRangeRequestBuilder
impl SlotDateTimeRangeRequestBuilder
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. This value must be later than or equal to the earliest date and at most three months in the future.
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. This value must be later than or equal to the earliest date and at most three months in the future.
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. This value must be later than or equal to the earliest date and at most three months in the future.
sourcepub fn build(self) -> SlotDateTimeRangeRequest
pub fn build(self) -> SlotDateTimeRangeRequest
Consumes the builder and constructs a SlotDateTimeRangeRequest
.
Trait Implementations§
source§impl Clone for SlotDateTimeRangeRequestBuilder
impl Clone for SlotDateTimeRangeRequestBuilder
source§fn clone(&self) -> SlotDateTimeRangeRequestBuilder
fn clone(&self) -> SlotDateTimeRangeRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SlotDateTimeRangeRequestBuilder
impl Default for SlotDateTimeRangeRequestBuilder
source§fn default() -> SlotDateTimeRangeRequestBuilder
fn default() -> SlotDateTimeRangeRequestBuilder
source§impl PartialEq<SlotDateTimeRangeRequestBuilder> for SlotDateTimeRangeRequestBuilder
impl PartialEq<SlotDateTimeRangeRequestBuilder> for SlotDateTimeRangeRequestBuilder
source§fn eq(&self, other: &SlotDateTimeRangeRequestBuilder) -> bool
fn eq(&self, other: &SlotDateTimeRangeRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.