@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 |
getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
|
Date |
getLastModifiedTime()
The timestamp when this resource was last modified.
|
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 |
setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
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 |
withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
HierarchyGroup |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
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. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,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(Map<String,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 addTagsEntry(String key, String value)
public HierarchyGroup clearTagsEntries()
public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public Date getLastModifiedTime()
The timestamp when this resource was last modified.
public HierarchyGroup withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public void setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
public HierarchyGroup withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.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.