Struct aws_sdk_connect::types::builders::StringConditionBuilder
source · #[non_exhaustive]pub struct StringConditionBuilder { /* private fields */ }
Expand description
A builder for StringCondition
.
Implementations§
source§impl StringConditionBuilder
impl StringConditionBuilder
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 string 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 string condition.
sourcepub fn get_field_name(&self) -> &Option<String>
pub fn get_field_name(&self) -> &Option<String>
The name of the field in the string condition.
sourcepub fn comparison_type(self, input: StringComparisonType) -> Self
pub fn comparison_type(self, input: StringComparisonType) -> Self
The type of comparison to be made when evaluating the string condition.
sourcepub fn set_comparison_type(self, input: Option<StringComparisonType>) -> Self
pub fn set_comparison_type(self, input: Option<StringComparisonType>) -> Self
The type of comparison to be made when evaluating the string condition.
sourcepub fn get_comparison_type(&self) -> &Option<StringComparisonType>
pub fn get_comparison_type(&self) -> &Option<StringComparisonType>
The type of comparison to be made when evaluating the string condition.
sourcepub fn build(self) -> StringCondition
pub fn build(self) -> StringCondition
Consumes the builder and constructs a StringCondition
.
Trait Implementations§
source§impl Clone for StringConditionBuilder
impl Clone for StringConditionBuilder
source§fn clone(&self) -> StringConditionBuilder
fn clone(&self) -> StringConditionBuilder
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 StringConditionBuilder
impl Debug for StringConditionBuilder
source§impl Default for StringConditionBuilder
impl Default for StringConditionBuilder
source§fn default() -> StringConditionBuilder
fn default() -> StringConditionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StringConditionBuilder
impl PartialEq for StringConditionBuilder
source§fn eq(&self, other: &StringConditionBuilder) -> bool
fn eq(&self, other: &StringConditionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StringConditionBuilder
Auto Trait Implementations§
impl Freeze for StringConditionBuilder
impl RefUnwindSafe for StringConditionBuilder
impl Send for StringConditionBuilder
impl Sync for StringConditionBuilder
impl Unpin for StringConditionBuilder
impl UnwindSafe for StringConditionBuilder
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.