Struct aws_sdk_connect::types::builders::NumberConditionBuilder
source · #[non_exhaustive]pub struct NumberConditionBuilder { /* private fields */ }
Expand description
A builder for NumberCondition
.
Implementations§
source§impl NumberConditionBuilder
impl NumberConditionBuilder
sourcepub fn field_name(self, input: impl Into<String>) -> Self
pub fn field_name(self, input: impl Into<String>) -> Self
The name of the field in the number condition.
sourcepub fn set_field_name(self, input: Option<String>) -> Self
pub fn set_field_name(self, input: Option<String>) -> Self
The name of the field in the number condition.
sourcepub fn get_field_name(&self) -> &Option<String>
pub fn get_field_name(&self) -> &Option<String>
The name of the field in the number condition.
sourcepub fn min_value(self, input: i32) -> Self
pub fn min_value(self, input: i32) -> Self
The minValue to be used while evaluating the number condition.
sourcepub fn set_min_value(self, input: Option<i32>) -> Self
pub fn set_min_value(self, input: Option<i32>) -> Self
The minValue to be used while evaluating the number condition.
sourcepub fn get_min_value(&self) -> &Option<i32>
pub fn get_min_value(&self) -> &Option<i32>
The minValue to be used while evaluating the number condition.
sourcepub fn max_value(self, input: i32) -> Self
pub fn max_value(self, input: i32) -> Self
The maxValue to be used while evaluating the number condition.
sourcepub fn set_max_value(self, input: Option<i32>) -> Self
pub fn set_max_value(self, input: Option<i32>) -> Self
The maxValue to be used while evaluating the number condition.
sourcepub fn get_max_value(&self) -> &Option<i32>
pub fn get_max_value(&self) -> &Option<i32>
The maxValue to be used while evaluating the number condition.
sourcepub fn comparison_type(self, input: NumberComparisonType) -> Self
pub fn comparison_type(self, input: NumberComparisonType) -> Self
The type of comparison to be made when evaluating the number condition.
sourcepub fn set_comparison_type(self, input: Option<NumberComparisonType>) -> Self
pub fn set_comparison_type(self, input: Option<NumberComparisonType>) -> Self
The type of comparison to be made when evaluating the number condition.
sourcepub fn get_comparison_type(&self) -> &Option<NumberComparisonType>
pub fn get_comparison_type(&self) -> &Option<NumberComparisonType>
The type of comparison to be made when evaluating the number condition.
sourcepub fn build(self) -> NumberCondition
pub fn build(self) -> NumberCondition
Consumes the builder and constructs a NumberCondition
.
Trait Implementations§
source§impl Clone for NumberConditionBuilder
impl Clone for NumberConditionBuilder
source§fn clone(&self) -> NumberConditionBuilder
fn clone(&self) -> NumberConditionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NumberConditionBuilder
impl Debug for NumberConditionBuilder
source§impl Default for NumberConditionBuilder
impl Default for NumberConditionBuilder
source§fn default() -> NumberConditionBuilder
fn default() -> NumberConditionBuilder
source§impl PartialEq for NumberConditionBuilder
impl PartialEq for NumberConditionBuilder
impl StructuralPartialEq for NumberConditionBuilder
Auto Trait Implementations§
impl Freeze for NumberConditionBuilder
impl RefUnwindSafe for NumberConditionBuilder
impl Send for NumberConditionBuilder
impl Sync for NumberConditionBuilder
impl Unpin for NumberConditionBuilder
impl UnwindSafe for NumberConditionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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