public class ThingGroupMetadata extends Object implements Serializable
Thing group metadata.
| Constructor and Description |
|---|
ThingGroupMetadata() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getCreationDate()
The UNIX timestamp of when the thing group was created.
|
String |
getParentGroupName()
The parent thing group name.
|
List<GroupNameAndArn> |
getRootToParentThingGroups()
The root parent thing group.
|
int |
hashCode() |
void |
setCreationDate(Date creationDate)
The UNIX timestamp of when the thing group was created.
|
void |
setParentGroupName(String parentGroupName)
The parent thing group name.
|
void |
setRootToParentThingGroups(Collection<GroupNameAndArn> rootToParentThingGroups)
The root parent thing group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ThingGroupMetadata |
withCreationDate(Date creationDate)
The UNIX timestamp of when the thing group was created.
|
ThingGroupMetadata |
withParentGroupName(String parentGroupName)
The parent thing group name.
|
ThingGroupMetadata |
withRootToParentThingGroups(Collection<GroupNameAndArn> rootToParentThingGroups)
The root parent thing group.
|
ThingGroupMetadata |
withRootToParentThingGroups(GroupNameAndArn... rootToParentThingGroups)
The root parent thing group.
|
public String getParentGroupName()
The parent thing group name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The parent thing group name.
public void setParentGroupName(String parentGroupName)
The parent thing group name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
parentGroupName - The parent thing group name.
public ThingGroupMetadata withParentGroupName(String parentGroupName)
The parent thing group name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
parentGroupName - The parent thing group name.
public List<GroupNameAndArn> getRootToParentThingGroups()
The root parent thing group.
The root parent thing group.
public void setRootToParentThingGroups(Collection<GroupNameAndArn> rootToParentThingGroups)
The root parent thing group.
rootToParentThingGroups - The root parent thing group.
public ThingGroupMetadata withRootToParentThingGroups(GroupNameAndArn... rootToParentThingGroups)
The root parent thing group.
Returns a reference to this object so that method calls can be chained together.
rootToParentThingGroups - The root parent thing group.
public ThingGroupMetadata withRootToParentThingGroups(Collection<GroupNameAndArn> rootToParentThingGroups)
The root parent thing group.
Returns a reference to this object so that method calls can be chained together.
rootToParentThingGroups - The root parent thing group.
public Date getCreationDate()
The UNIX timestamp of when the thing group was created.
The UNIX timestamp of when the thing group was created.
public void setCreationDate(Date creationDate)
The UNIX timestamp of when the thing group was created.
creationDate - The UNIX timestamp of when the thing group was created.
public ThingGroupMetadata withCreationDate(Date creationDate)
The UNIX timestamp of when the thing group was created.
Returns a reference to this object so that method calls can be chained together.
creationDate - The UNIX timestamp of when the thing group was created.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.