Struct aws_sdk_ec2::model::SlotDateTimeRangeRequest
source · #[non_exhaustive]pub struct SlotDateTimeRangeRequest { /* private fields */ }
Expand description
Describes the time period for a Scheduled Instance to start its first schedule. The time period must span less than one day.
Implementations§
source§impl SlotDateTimeRangeRequest
impl SlotDateTimeRangeRequest
sourcepub fn earliest_time(&self) -> Option<&DateTime>
pub fn earliest_time(&self) -> Option<&DateTime>
The earliest date and time, in UTC, for the Scheduled Instance to start.
sourcepub fn latest_time(&self) -> Option<&DateTime>
pub fn 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.
source§impl SlotDateTimeRangeRequest
impl SlotDateTimeRangeRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SlotDateTimeRangeRequest
.
Trait Implementations§
source§impl Clone for SlotDateTimeRangeRequest
impl Clone for SlotDateTimeRangeRequest
source§fn clone(&self) -> SlotDateTimeRangeRequest
fn clone(&self) -> SlotDateTimeRangeRequest
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 SlotDateTimeRangeRequest
impl Debug for SlotDateTimeRangeRequest
source§impl PartialEq<SlotDateTimeRangeRequest> for SlotDateTimeRangeRequest
impl PartialEq<SlotDateTimeRangeRequest> for SlotDateTimeRangeRequest
source§fn eq(&self, other: &SlotDateTimeRangeRequest) -> bool
fn eq(&self, other: &SlotDateTimeRangeRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.