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