public class HierarchyGroup
extends java.lang.Object
implements java.io.Serializable
Contains information about a hierarchy group.
| Constructor and Description |
|---|
HierarchyGroup() |
| Modifier and Type | Method and Description |
|---|---|
HierarchyGroup |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
HierarchyGroup |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the hierarchy group.
|
HierarchyPath |
getHierarchyPath()
Information about the levels in the hierarchy group.
|
java.lang.String |
getId()
The identifier of the hierarchy group.
|
java.lang.String |
getLevelId()
The identifier of the level in the hierarchy group.
|
java.lang.String |
getName()
The name of the hierarchy group.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the hierarchy group.
|
void |
setHierarchyPath(HierarchyPath hierarchyPath)
Information about the levels in the hierarchy group.
|
void |
setId(java.lang.String id)
The identifier of the hierarchy group.
|
void |
setLevelId(java.lang.String levelId)
The identifier of the level in the hierarchy group.
|
void |
setName(java.lang.String name)
The name of the hierarchy group.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HierarchyGroup |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the hierarchy group.
|
HierarchyGroup |
withHierarchyPath(HierarchyPath hierarchyPath)
Information about the levels in the hierarchy group.
|
HierarchyGroup |
withId(java.lang.String id)
The identifier of the hierarchy group.
|
HierarchyGroup |
withLevelId(java.lang.String levelId)
The identifier of the level in the hierarchy group.
|
HierarchyGroup |
withName(java.lang.String name)
The name of the hierarchy group.
|
HierarchyGroup |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
public java.lang.String getId()
The identifier of the hierarchy group.
The identifier of the hierarchy group.
public void setId(java.lang.String id)
The identifier of the hierarchy group.
id - The identifier of the hierarchy group.
public HierarchyGroup withId(java.lang.String id)
The identifier of the hierarchy group.
Returns a reference to this object so that method calls can be chained together.
id - The identifier of the hierarchy group.
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the hierarchy group.
The Amazon Resource Name (ARN) of the hierarchy group.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the hierarchy group.
arn - The Amazon Resource Name (ARN) of the hierarchy group.
public HierarchyGroup withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the hierarchy group.
Returns a reference to this object so that method calls can be chained together.
arn - The Amazon Resource Name (ARN) of the hierarchy group.
public java.lang.String getName()
The name of the hierarchy group.
The name of the hierarchy group.
public void setName(java.lang.String name)
The name of the hierarchy group.
name - The name of the hierarchy group.
public HierarchyGroup withName(java.lang.String name)
The name of the hierarchy group.
Returns a reference to this object so that method calls can be chained together.
name - The name of the hierarchy group.
public java.lang.String getLevelId()
The identifier of the level in the hierarchy group.
The identifier of the level in the hierarchy group.
public void setLevelId(java.lang.String levelId)
The identifier of the level in the hierarchy group.
levelId - The identifier of the level in the hierarchy group.
public HierarchyGroup withLevelId(java.lang.String levelId)
The identifier of the level in the hierarchy group.
Returns a reference to this object so that method calls can be chained together.
levelId - The identifier of the level in the hierarchy group.
public HierarchyPath getHierarchyPath()
Information about the levels in the hierarchy group.
Information about the levels in the hierarchy group.
public void setHierarchyPath(HierarchyPath hierarchyPath)
Information about the levels in the hierarchy group.
hierarchyPath - Information about the levels in the hierarchy group.
public HierarchyGroup withHierarchyPath(HierarchyPath hierarchyPath)
Information about the levels in the hierarchy group.
Returns a reference to this object so that method calls can be chained together.
hierarchyPath - Information about the levels in the hierarchy group.
public java.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public HierarchyGroup withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public HierarchyGroup addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Tags.value - The corresponding value of the entry to be added into Tags.public HierarchyGroup clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object