Struct aws_sdk_detective::types::builders::DateFilterBuilder
source · #[non_exhaustive]pub struct DateFilterBuilder { /* private fields */ }
Expand description
A builder for DateFilter
.
Implementations§
source§impl DateFilterBuilder
impl DateFilterBuilder
sourcepub fn start_inclusive(self, input: DateTime) -> Self
pub fn start_inclusive(self, input: DateTime) -> Self
A timestamp representing the start of the time period from when data is filtered, including the start date.
This field is required.sourcepub fn set_start_inclusive(self, input: Option<DateTime>) -> Self
pub fn set_start_inclusive(self, input: Option<DateTime>) -> Self
A timestamp representing the start of the time period from when data is filtered, including the start date.
sourcepub fn get_start_inclusive(&self) -> &Option<DateTime>
pub fn get_start_inclusive(&self) -> &Option<DateTime>
A timestamp representing the start of the time period from when data is filtered, including the start date.
sourcepub fn end_inclusive(self, input: DateTime) -> Self
pub fn end_inclusive(self, input: DateTime) -> Self
A timestamp representing the end date of the time period until when data is filtered, including the end date.
This field is required.sourcepub fn set_end_inclusive(self, input: Option<DateTime>) -> Self
pub fn set_end_inclusive(self, input: Option<DateTime>) -> Self
A timestamp representing the end date of the time period until when data is filtered, including the end date.
sourcepub fn get_end_inclusive(&self) -> &Option<DateTime>
pub fn get_end_inclusive(&self) -> &Option<DateTime>
A timestamp representing the end date of the time period until when data is filtered, including the end date.
sourcepub fn build(self) -> Result<DateFilter, BuildError>
pub fn build(self) -> Result<DateFilter, BuildError>
Consumes the builder and constructs a DateFilter
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DateFilterBuilder
impl Clone for DateFilterBuilder
source§fn clone(&self) -> DateFilterBuilder
fn clone(&self) -> DateFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DateFilterBuilder
impl Debug for DateFilterBuilder
source§impl Default for DateFilterBuilder
impl Default for DateFilterBuilder
source§fn default() -> DateFilterBuilder
fn default() -> DateFilterBuilder
source§impl PartialEq for DateFilterBuilder
impl PartialEq for DateFilterBuilder
source§fn eq(&self, other: &DateFilterBuilder) -> bool
fn eq(&self, other: &DateFilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DateFilterBuilder
Auto Trait Implementations§
impl Freeze for DateFilterBuilder
impl RefUnwindSafe for DateFilterBuilder
impl Send for DateFilterBuilder
impl Sync for DateFilterBuilder
impl Unpin for DateFilterBuilder
impl UnwindSafe for DateFilterBuilder
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
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>
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>
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 more