Struct aws_sdk_customerprofiles::types::builders::ConditionsBuilder
source · #[non_exhaustive]pub struct ConditionsBuilder { /* private fields */ }
Expand description
A builder for Conditions
.
Implementations§
source§impl ConditionsBuilder
impl ConditionsBuilder
sourcepub fn range(self, input: Range) -> Self
pub fn range(self, input: Range) -> Self
The relative time period over which data is included in the aggregation.
sourcepub fn set_range(self, input: Option<Range>) -> Self
pub fn set_range(self, input: Option<Range>) -> Self
The relative time period over which data is included in the aggregation.
sourcepub fn get_range(&self) -> &Option<Range>
pub fn get_range(&self) -> &Option<Range>
The relative time period over which data is included in the aggregation.
sourcepub fn object_count(self, input: i32) -> Self
pub fn object_count(self, input: i32) -> Self
The number of profile objects used for the calculated attribute.
sourcepub fn set_object_count(self, input: Option<i32>) -> Self
pub fn set_object_count(self, input: Option<i32>) -> Self
The number of profile objects used for the calculated attribute.
sourcepub fn get_object_count(&self) -> &Option<i32>
pub fn get_object_count(&self) -> &Option<i32>
The number of profile objects used for the calculated attribute.
sourcepub fn set_threshold(self, input: Option<Threshold>) -> Self
pub fn set_threshold(self, input: Option<Threshold>) -> Self
The threshold for the calculated attribute.
sourcepub fn get_threshold(&self) -> &Option<Threshold>
pub fn get_threshold(&self) -> &Option<Threshold>
The threshold for the calculated attribute.
sourcepub fn build(self) -> Conditions
pub fn build(self) -> Conditions
Consumes the builder and constructs a Conditions
.
Trait Implementations§
source§impl Clone for ConditionsBuilder
impl Clone for ConditionsBuilder
source§fn clone(&self) -> ConditionsBuilder
fn clone(&self) -> ConditionsBuilder
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 ConditionsBuilder
impl Debug for ConditionsBuilder
source§impl Default for ConditionsBuilder
impl Default for ConditionsBuilder
source§fn default() -> ConditionsBuilder
fn default() -> ConditionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConditionsBuilder
impl PartialEq for ConditionsBuilder
source§fn eq(&self, other: &ConditionsBuilder) -> bool
fn eq(&self, other: &ConditionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConditionsBuilder
Auto Trait Implementations§
impl Freeze for ConditionsBuilder
impl RefUnwindSafe for ConditionsBuilder
impl Send for ConditionsBuilder
impl Sync for ConditionsBuilder
impl Unpin for ConditionsBuilder
impl UnwindSafe for ConditionsBuilder
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.