Struct aws_sdk_connect::types::builders::ExpressionBuilder
source · #[non_exhaustive]pub struct ExpressionBuilder { /* private fields */ }
Expand description
A builder for Expression
.
Implementations§
source§impl ExpressionBuilder
impl ExpressionBuilder
sourcepub fn attribute_condition(self, input: AttributeCondition) -> Self
pub fn attribute_condition(self, input: AttributeCondition) -> Self
An object to specify the predefined attribute condition.
sourcepub fn set_attribute_condition(self, input: Option<AttributeCondition>) -> Self
pub fn set_attribute_condition(self, input: Option<AttributeCondition>) -> Self
An object to specify the predefined attribute condition.
sourcepub fn get_attribute_condition(&self) -> &Option<AttributeCondition>
pub fn get_attribute_condition(&self) -> &Option<AttributeCondition>
An object to specify the predefined attribute condition.
sourcepub fn and_expression(self, input: Expression) -> Self
pub fn and_expression(self, input: Expression) -> Self
Appends an item to and_expression
.
To override the contents of this collection use set_and_expression
.
List of routing expressions which will be AND-ed together.
sourcepub fn set_and_expression(self, input: Option<Vec<Expression>>) -> Self
pub fn set_and_expression(self, input: Option<Vec<Expression>>) -> Self
List of routing expressions which will be AND-ed together.
sourcepub fn get_and_expression(&self) -> &Option<Vec<Expression>>
pub fn get_and_expression(&self) -> &Option<Vec<Expression>>
List of routing expressions which will be AND-ed together.
sourcepub fn or_expression(self, input: Expression) -> Self
pub fn or_expression(self, input: Expression) -> Self
Appends an item to or_expression
.
To override the contents of this collection use set_or_expression
.
List of routing expressions which will be OR-ed together.
sourcepub fn set_or_expression(self, input: Option<Vec<Expression>>) -> Self
pub fn set_or_expression(self, input: Option<Vec<Expression>>) -> Self
List of routing expressions which will be OR-ed together.
sourcepub fn get_or_expression(&self) -> &Option<Vec<Expression>>
pub fn get_or_expression(&self) -> &Option<Vec<Expression>>
List of routing expressions which will be OR-ed together.
sourcepub fn build(self) -> Expression
pub fn build(self) -> Expression
Consumes the builder and constructs a Expression
.
Trait Implementations§
source§impl Clone for ExpressionBuilder
impl Clone for ExpressionBuilder
source§fn clone(&self) -> ExpressionBuilder
fn clone(&self) -> ExpressionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExpressionBuilder
impl Debug for ExpressionBuilder
source§impl Default for ExpressionBuilder
impl Default for ExpressionBuilder
source§fn default() -> ExpressionBuilder
fn default() -> ExpressionBuilder
source§impl PartialEq for ExpressionBuilder
impl PartialEq for ExpressionBuilder
source§fn eq(&self, other: &ExpressionBuilder) -> bool
fn eq(&self, other: &ExpressionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExpressionBuilder
Auto Trait Implementations§
impl Freeze for ExpressionBuilder
impl RefUnwindSafe for ExpressionBuilder
impl Send for ExpressionBuilder
impl Sync for ExpressionBuilder
impl Unpin for ExpressionBuilder
impl UnwindSafe for ExpressionBuilder
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