Struct aws_sdk_connect::model::string_condition::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StringCondition
.
Implementations§
source§impl Builder
impl Builder
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
.