Interface HierarchyGroups.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HierarchyGroups.Builder,
,HierarchyGroups> SdkBuilder<HierarchyGroups.Builder,
,HierarchyGroups> SdkPojo
- Enclosing class:
HierarchyGroups
-
Method Summary
Modifier and TypeMethodDescriptiondefault HierarchyGroups.Builder
level1
(Consumer<AgentHierarchyGroup.Builder> level1) The group at level one of the agent hierarchy.level1
(AgentHierarchyGroup level1) The group at level one of the agent hierarchy.default HierarchyGroups.Builder
level2
(Consumer<AgentHierarchyGroup.Builder> level2) The group at level two of the agent hierarchy.level2
(AgentHierarchyGroup level2) The group at level two of the agent hierarchy.default HierarchyGroups.Builder
level3
(Consumer<AgentHierarchyGroup.Builder> level3) The group at level three of the agent hierarchy.level3
(AgentHierarchyGroup level3) The group at level three of the agent hierarchy.default HierarchyGroups.Builder
level4
(Consumer<AgentHierarchyGroup.Builder> level4) The group at level four of the agent hierarchy.level4
(AgentHierarchyGroup level4) The group at level four of the agent hierarchy.default HierarchyGroups.Builder
level5
(Consumer<AgentHierarchyGroup.Builder> level5) The group at level five of the agent hierarchy.level5
(AgentHierarchyGroup level5) The group at level five of the agent hierarchy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
level1
The group at level one of the agent hierarchy.
- Parameters:
level1
- The group at level one of the agent hierarchy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
level1
The group at level one of the agent hierarchy.
This is a convenience method that creates an instance of theAgentHierarchyGroup.Builder
avoiding the need to create one manually viaAgentHierarchyGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolevel1(AgentHierarchyGroup)
.- Parameters:
level1
- a consumer that will call methods onAgentHierarchyGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
level2
The group at level two of the agent hierarchy.
- Parameters:
level2
- The group at level two of the agent hierarchy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
level2
The group at level two of the agent hierarchy.
This is a convenience method that creates an instance of theAgentHierarchyGroup.Builder
avoiding the need to create one manually viaAgentHierarchyGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolevel2(AgentHierarchyGroup)
.- Parameters:
level2
- a consumer that will call methods onAgentHierarchyGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
level3
The group at level three of the agent hierarchy.
- Parameters:
level3
- The group at level three of the agent hierarchy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
level3
The group at level three of the agent hierarchy.
This is a convenience method that creates an instance of theAgentHierarchyGroup.Builder
avoiding the need to create one manually viaAgentHierarchyGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolevel3(AgentHierarchyGroup)
.- Parameters:
level3
- a consumer that will call methods onAgentHierarchyGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
level4
The group at level four of the agent hierarchy.
- Parameters:
level4
- The group at level four of the agent hierarchy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
level4
The group at level four of the agent hierarchy.
This is a convenience method that creates an instance of theAgentHierarchyGroup.Builder
avoiding the need to create one manually viaAgentHierarchyGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolevel4(AgentHierarchyGroup)
.- Parameters:
level4
- a consumer that will call methods onAgentHierarchyGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
level5
The group at level five of the agent hierarchy.
- Parameters:
level5
- The group at level five of the agent hierarchy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
level5
The group at level five of the agent hierarchy.
This is a convenience method that creates an instance of theAgentHierarchyGroup.Builder
avoiding the need to create one manually viaAgentHierarchyGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolevel5(AgentHierarchyGroup)
.- Parameters:
level5
- a consumer that will call methods onAgentHierarchyGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-