Interface HierarchyGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HierarchyGroup.Builder,
,HierarchyGroup> SdkBuilder<HierarchyGroup.Builder,
,HierarchyGroup> SdkPojo
- Enclosing class:
HierarchyGroup
public static interface HierarchyGroup.Builder
extends SdkPojo, CopyableBuilder<HierarchyGroup.Builder,HierarchyGroup>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the hierarchy group.default HierarchyGroup.Builder
hierarchyPath
(Consumer<HierarchyPath.Builder> hierarchyPath) Information about the levels in the hierarchy group.hierarchyPath
(HierarchyPath hierarchyPath) Information about the levels in the hierarchy group.The identifier of the hierarchy group.lastModifiedRegion
(String lastModifiedRegion) The Amazon Web Services Region where this resource was last modified.lastModifiedTime
(Instant lastModifiedTime) The timestamp when this resource was last modified.The identifier of the level in the hierarchy group.The name of the hierarchy group.The tags used to organize, track, or control access for this resource.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, sdkFields
-
Method Details
-
id
The identifier of the hierarchy group.
- Parameters:
id
- The identifier of the hierarchy group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the hierarchy group.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the hierarchy group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the hierarchy group.
- Parameters:
name
- The name of the hierarchy group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
levelId
The identifier of the level in the hierarchy group.
- Parameters:
levelId
- The identifier of the level in the hierarchy group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyPath
Information about the levels in the hierarchy group.
- Parameters:
hierarchyPath
- Information about the levels in the hierarchy group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyPath
Information about the levels in the hierarchy group.
This is a convenience method that creates an instance of theHierarchyPath.Builder
avoiding the need to create one manually viaHierarchyPath.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohierarchyPath(HierarchyPath)
.- Parameters:
hierarchyPath
- a consumer that will call methods onHierarchyPath.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The timestamp when this resource was last modified.
- Parameters:
lastModifiedTime
- The timestamp when this resource was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedRegion
The Amazon Web Services Region where this resource was last modified.
- Parameters:
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-