public class ThingGroupMetadata
extends java.lang.Object
implements java.io.Serializable
Thing group metadata.
Constructor and Description |
---|
ThingGroupMetadata() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDate()
The UNIX timestamp of when the thing group was created.
|
java.lang.String |
getParentGroupName()
The parent thing group name.
|
java.util.List<GroupNameAndArn> |
getRootToParentThingGroups()
The root parent thing group.
|
int |
hashCode() |
void |
setCreationDate(java.util.Date creationDate)
The UNIX timestamp of when the thing group was created.
|
void |
setParentGroupName(java.lang.String parentGroupName)
The parent thing group name.
|
void |
setRootToParentThingGroups(java.util.Collection<GroupNameAndArn> rootToParentThingGroups)
The root parent thing group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ThingGroupMetadata |
withCreationDate(java.util.Date creationDate)
The UNIX timestamp of when the thing group was created.
|
ThingGroupMetadata |
withParentGroupName(java.lang.String parentGroupName)
The parent thing group name.
|
ThingGroupMetadata |
withRootToParentThingGroups(java.util.Collection<GroupNameAndArn> rootToParentThingGroups)
The root parent thing group.
|
ThingGroupMetadata |
withRootToParentThingGroups(GroupNameAndArn... rootToParentThingGroups)
The root parent thing group.
|
public java.lang.String getParentGroupName()
The parent thing group name.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The parent thing group name.
public void setParentGroupName(java.lang.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(java.lang.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 java.util.List<GroupNameAndArn> getRootToParentThingGroups()
The root parent thing group.
The root parent thing group.
public void setRootToParentThingGroups(java.util.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(java.util.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 java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.