#[non_exhaustive]pub struct ControlPlaneUserAttributeFilterBuilder { /* private fields */ }
Expand description
A builder for ControlPlaneUserAttributeFilter
.
Implementations§
source§impl ControlPlaneUserAttributeFilterBuilder
impl ControlPlaneUserAttributeFilterBuilder
sourcepub fn or_conditions(self, input: AttributeAndCondition) -> Self
pub fn or_conditions(self, input: AttributeAndCondition) -> 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<AttributeAndCondition>>
) -> Self
pub fn set_or_conditions( self, input: Option<Vec<AttributeAndCondition>> ) -> Self
A list of conditions which would be applied together with an OR
condition.
sourcepub fn get_or_conditions(&self) -> &Option<Vec<AttributeAndCondition>>
pub fn get_or_conditions(&self) -> &Option<Vec<AttributeAndCondition>>
A list of conditions which would be applied together with an OR
condition.
sourcepub fn and_condition(self, input: AttributeAndCondition) -> Self
pub fn and_condition(self, input: AttributeAndCondition) -> Self
A list of conditions which would be applied together with an AND
condition.
sourcepub fn set_and_condition(self, input: Option<AttributeAndCondition>) -> Self
pub fn set_and_condition(self, input: Option<AttributeAndCondition>) -> Self
A list of conditions which would be applied together with an AND
condition.
sourcepub fn get_and_condition(&self) -> &Option<AttributeAndCondition>
pub fn get_and_condition(&self) -> &Option<AttributeAndCondition>
A list of conditions which would be applied together with an AND
condition.
sourcepub fn tag_condition(self, input: TagCondition) -> Self
pub fn tag_condition(self, input: TagCondition) -> Self
A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123
.
sourcepub fn set_tag_condition(self, input: Option<TagCondition>) -> Self
pub fn set_tag_condition(self, input: Option<TagCondition>) -> Self
A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123
.
sourcepub fn get_tag_condition(&self) -> &Option<TagCondition>
pub fn get_tag_condition(&self) -> &Option<TagCondition>
A leaf node condition which can be used to specify a tag condition, for example, HAVE BPO = 123
.
sourcepub fn hierarchy_group_condition(self, input: HierarchyGroupCondition) -> Self
pub fn hierarchy_group_condition(self, input: HierarchyGroupCondition) -> Self
A leaf node condition which can be used to specify a hierarchy group condition.
sourcepub fn set_hierarchy_group_condition(
self,
input: Option<HierarchyGroupCondition>
) -> Self
pub fn set_hierarchy_group_condition( self, input: Option<HierarchyGroupCondition> ) -> Self
A leaf node condition which can be used to specify a hierarchy group condition.
sourcepub fn get_hierarchy_group_condition(&self) -> &Option<HierarchyGroupCondition>
pub fn get_hierarchy_group_condition(&self) -> &Option<HierarchyGroupCondition>
A leaf node condition which can be used to specify a hierarchy group condition.
sourcepub fn build(self) -> ControlPlaneUserAttributeFilter
pub fn build(self) -> ControlPlaneUserAttributeFilter
Consumes the builder and constructs a ControlPlaneUserAttributeFilter
.
Trait Implementations§
source§impl Clone for ControlPlaneUserAttributeFilterBuilder
impl Clone for ControlPlaneUserAttributeFilterBuilder
source§fn clone(&self) -> ControlPlaneUserAttributeFilterBuilder
fn clone(&self) -> ControlPlaneUserAttributeFilterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ControlPlaneUserAttributeFilterBuilder
impl Default for ControlPlaneUserAttributeFilterBuilder
source§fn default() -> ControlPlaneUserAttributeFilterBuilder
fn default() -> ControlPlaneUserAttributeFilterBuilder
source§impl PartialEq for ControlPlaneUserAttributeFilterBuilder
impl PartialEq for ControlPlaneUserAttributeFilterBuilder
source§fn eq(&self, other: &ControlPlaneUserAttributeFilterBuilder) -> bool
fn eq(&self, other: &ControlPlaneUserAttributeFilterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.