@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HierarchyGroup extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a hierarchy group.
Constructor and Description |
---|
HierarchyGroup() |
Modifier and Type | Method and Description |
---|---|
HierarchyGroup |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
HierarchyGroup |
clearTagsEntries()
Removes all the entries added into Tags.
|
HierarchyGroup |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the hierarchy group.
|
HierarchyPath |
getHierarchyPath()
Information about the levels in the hierarchy group.
|
String |
getId()
The identifier of the hierarchy group.
|
String |
getLevelId()
The identifier of the level in the hierarchy group.
|
String |
getName()
The name of the hierarchy group.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(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(String id)
The identifier of the hierarchy group.
|
void |
setLevelId(String levelId)
The identifier of the level in the hierarchy group.
|
void |
setName(String name)
The name of the hierarchy group.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
HierarchyGroup |
withArn(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(String id)
The identifier of the hierarchy group.
|
HierarchyGroup |
withLevelId(String levelId)
The identifier of the level in the hierarchy group.
|
HierarchyGroup |
withName(String name)
The name of the hierarchy group.
|
HierarchyGroup |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
public void setId(String id)
The identifier of the hierarchy group.
id
- The identifier of the hierarchy group.public String getId()
The identifier of the hierarchy group.
public HierarchyGroup withId(String id)
The identifier of the hierarchy group.
id
- The identifier of the hierarchy group.public void setArn(String arn)
The Amazon Resource Name (ARN) of the hierarchy group.
arn
- The Amazon Resource Name (ARN) of the hierarchy group.public String getArn()
The Amazon Resource Name (ARN) of the hierarchy group.
public HierarchyGroup withArn(String arn)
The Amazon Resource Name (ARN) of the hierarchy group.
arn
- The Amazon Resource Name (ARN) of the hierarchy group.public void setName(String name)
The name of the hierarchy group.
name
- The name of the hierarchy group.public String getName()
The name of the hierarchy group.
public HierarchyGroup withName(String name)
The name of the hierarchy group.
name
- The name of the hierarchy group.public void setLevelId(String levelId)
The identifier of the level in the hierarchy group.
levelId
- The identifier of the level in the hierarchy group.public String getLevelId()
The identifier of the level in the hierarchy group.
public HierarchyGroup withLevelId(String levelId)
The identifier of the level in the hierarchy group.
levelId
- The identifier of the level 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 HierarchyPath getHierarchyPath()
Information about the levels in the hierarchy group.
public HierarchyGroup withHierarchyPath(HierarchyPath hierarchyPath)
Information about the levels in the hierarchy group.
hierarchyPath
- Information about the levels in the hierarchy group.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public HierarchyGroup withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public HierarchyGroup addTagsEntry(String key, String value)
public HierarchyGroup clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public HierarchyGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.