#[non_exhaustive]pub struct AgentHierarchyGroupsBuilder { /* private fields */ }
Expand description
A builder for AgentHierarchyGroups
.
Implementations§
source§impl AgentHierarchyGroupsBuilder
impl AgentHierarchyGroupsBuilder
sourcepub fn l1_ids(self, input: impl Into<String>) -> Self
pub fn l1_ids(self, input: impl Into<String>) -> Self
Appends an item to l1_ids
.
To override the contents of this collection use set_l1_ids
.
The identifiers for level 1 hierarchy groups.
sourcepub fn set_l1_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_l1_ids(self, input: Option<Vec<String>>) -> Self
The identifiers for level 1 hierarchy groups.
sourcepub fn get_l1_ids(&self) -> &Option<Vec<String>>
pub fn get_l1_ids(&self) -> &Option<Vec<String>>
The identifiers for level 1 hierarchy groups.
sourcepub fn l2_ids(self, input: impl Into<String>) -> Self
pub fn l2_ids(self, input: impl Into<String>) -> Self
Appends an item to l2_ids
.
To override the contents of this collection use set_l2_ids
.
The identifiers for level 2 hierarchy groups.
sourcepub fn set_l2_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_l2_ids(self, input: Option<Vec<String>>) -> Self
The identifiers for level 2 hierarchy groups.
sourcepub fn get_l2_ids(&self) -> &Option<Vec<String>>
pub fn get_l2_ids(&self) -> &Option<Vec<String>>
The identifiers for level 2 hierarchy groups.
sourcepub fn l3_ids(self, input: impl Into<String>) -> Self
pub fn l3_ids(self, input: impl Into<String>) -> Self
Appends an item to l3_ids
.
To override the contents of this collection use set_l3_ids
.
The identifiers for level 3 hierarchy groups.
sourcepub fn set_l3_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_l3_ids(self, input: Option<Vec<String>>) -> Self
The identifiers for level 3 hierarchy groups.
sourcepub fn get_l3_ids(&self) -> &Option<Vec<String>>
pub fn get_l3_ids(&self) -> &Option<Vec<String>>
The identifiers for level 3 hierarchy groups.
sourcepub fn l4_ids(self, input: impl Into<String>) -> Self
pub fn l4_ids(self, input: impl Into<String>) -> Self
Appends an item to l4_ids
.
To override the contents of this collection use set_l4_ids
.
The identifiers for level 4 hierarchy groups.
sourcepub fn set_l4_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_l4_ids(self, input: Option<Vec<String>>) -> Self
The identifiers for level 4 hierarchy groups.
sourcepub fn get_l4_ids(&self) -> &Option<Vec<String>>
pub fn get_l4_ids(&self) -> &Option<Vec<String>>
The identifiers for level 4 hierarchy groups.
sourcepub fn l5_ids(self, input: impl Into<String>) -> Self
pub fn l5_ids(self, input: impl Into<String>) -> Self
Appends an item to l5_ids
.
To override the contents of this collection use set_l5_ids
.
The identifiers for level 5 hierarchy groups.
sourcepub fn set_l5_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_l5_ids(self, input: Option<Vec<String>>) -> Self
The identifiers for level 5 hierarchy groups.
sourcepub fn get_l5_ids(&self) -> &Option<Vec<String>>
pub fn get_l5_ids(&self) -> &Option<Vec<String>>
The identifiers for level 5 hierarchy groups.
sourcepub fn build(self) -> AgentHierarchyGroups
pub fn build(self) -> AgentHierarchyGroups
Consumes the builder and constructs a AgentHierarchyGroups
.
Trait Implementations§
source§impl Clone for AgentHierarchyGroupsBuilder
impl Clone for AgentHierarchyGroupsBuilder
source§fn clone(&self) -> AgentHierarchyGroupsBuilder
fn clone(&self) -> AgentHierarchyGroupsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AgentHierarchyGroupsBuilder
impl Debug for AgentHierarchyGroupsBuilder
source§impl Default for AgentHierarchyGroupsBuilder
impl Default for AgentHierarchyGroupsBuilder
source§fn default() -> AgentHierarchyGroupsBuilder
fn default() -> AgentHierarchyGroupsBuilder
source§impl PartialEq for AgentHierarchyGroupsBuilder
impl PartialEq for AgentHierarchyGroupsBuilder
source§fn eq(&self, other: &AgentHierarchyGroupsBuilder) -> bool
fn eq(&self, other: &AgentHierarchyGroupsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.