pub struct Builder { /* private fields */ }
Expand description
A builder for RoutingProfileSearchCriteria
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn or_conditions(self, input: RoutingProfileSearchCriteria) -> Self
pub fn or_conditions(self, input: RoutingProfileSearchCriteria) -> Self
Appends an item to or_conditions
.
To override the contents of this collection use set_or_conditions
.
A list of conditions which would be applied together with an OR condition.
sourcepub fn set_or_conditions(
self,
input: Option<Vec<RoutingProfileSearchCriteria>>
) -> Self
pub fn set_or_conditions(
self,
input: Option<Vec<RoutingProfileSearchCriteria>>
) -> Self
A list of conditions which would be applied together with an OR condition.
sourcepub fn and_conditions(self, input: RoutingProfileSearchCriteria) -> Self
pub fn and_conditions(self, input: RoutingProfileSearchCriteria) -> Self
Appends an item to and_conditions
.
To override the contents of this collection use set_and_conditions
.
A list of conditions which would be applied together with an AND condition.
sourcepub fn set_and_conditions(
self,
input: Option<Vec<RoutingProfileSearchCriteria>>
) -> Self
pub fn set_and_conditions(
self,
input: Option<Vec<RoutingProfileSearchCriteria>>
) -> Self
A list of conditions which would be applied together with an AND condition.
sourcepub fn string_condition(self, input: StringCondition) -> Self
pub fn string_condition(self, input: StringCondition) -> Self
A leaf node condition which can be used to specify a string condition.
The currently supported value for FieldName
: name
sourcepub fn set_string_condition(self, input: Option<StringCondition>) -> Self
pub fn set_string_condition(self, input: Option<StringCondition>) -> Self
A leaf node condition which can be used to specify a string condition.
The currently supported value for FieldName
: name
sourcepub fn build(self) -> RoutingProfileSearchCriteria
pub fn build(self) -> RoutingProfileSearchCriteria
Consumes the builder and constructs a RoutingProfileSearchCriteria
.