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 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 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<StringConditionBuilder> for StringConditionBuilder
impl PartialEq<StringConditionBuilder> 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 ==
.