Struct aws_sdk_devopsguru::types::builders::EndTimeRangeBuilder
source · #[non_exhaustive]pub struct EndTimeRangeBuilder { /* private fields */ }
Expand description
A builder for EndTimeRange
.
Implementations§
source§impl EndTimeRangeBuilder
impl EndTimeRangeBuilder
sourcepub fn set_from_time(self, input: Option<DateTime>) -> Self
pub fn set_from_time(self, input: Option<DateTime>) -> Self
The earliest end time in the time range.
sourcepub fn get_from_time(&self) -> &Option<DateTime>
pub fn get_from_time(&self) -> &Option<DateTime>
The earliest end time in the time range.
sourcepub fn set_to_time(self, input: Option<DateTime>) -> Self
pub fn set_to_time(self, input: Option<DateTime>) -> Self
The latest end time in the time range.
sourcepub fn get_to_time(&self) -> &Option<DateTime>
pub fn get_to_time(&self) -> &Option<DateTime>
The latest end time in the time range.
sourcepub fn build(self) -> EndTimeRange
pub fn build(self) -> EndTimeRange
Consumes the builder and constructs a EndTimeRange
.
Trait Implementations§
source§impl Clone for EndTimeRangeBuilder
impl Clone for EndTimeRangeBuilder
source§fn clone(&self) -> EndTimeRangeBuilder
fn clone(&self) -> EndTimeRangeBuilder
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 EndTimeRangeBuilder
impl Debug for EndTimeRangeBuilder
source§impl Default for EndTimeRangeBuilder
impl Default for EndTimeRangeBuilder
source§fn default() -> EndTimeRangeBuilder
fn default() -> EndTimeRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EndTimeRangeBuilder
impl PartialEq for EndTimeRangeBuilder
source§fn eq(&self, other: &EndTimeRangeBuilder) -> bool
fn eq(&self, other: &EndTimeRangeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EndTimeRangeBuilder
Auto Trait Implementations§
impl Freeze for EndTimeRangeBuilder
impl RefUnwindSafe for EndTimeRangeBuilder
impl Send for EndTimeRangeBuilder
impl Sync for EndTimeRangeBuilder
impl Unpin for EndTimeRangeBuilder
impl UnwindSafe for EndTimeRangeBuilder
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.