#[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 ==
.impl StructuralPartialEq for AgentHierarchyGroupsBuilder
Auto Trait Implementations§
impl Freeze for AgentHierarchyGroupsBuilder
impl RefUnwindSafe for AgentHierarchyGroupsBuilder
impl Send for AgentHierarchyGroupsBuilder
impl Sync for AgentHierarchyGroupsBuilder
impl Unpin for AgentHierarchyGroupsBuilder
impl UnwindSafe for AgentHierarchyGroupsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more