@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThingGroupMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Thing group metadata.
Constructor and Description |
---|
ThingGroupMetadata() |
Modifier and Type | Method and Description |
---|---|
ThingGroupMetadata |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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 void setParentGroupName(String parentGroupName)
The parent thing group name.
parentGroupName
- The parent thing group name.public String getParentGroupName()
The parent thing group name.
public ThingGroupMetadata withParentGroupName(String parentGroupName)
The parent thing group name.
parentGroupName
- The parent thing group name.public List<GroupNameAndArn> getRootToParentThingGroups()
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.
NOTE: This method appends the values to the existing list (if any). Use
setRootToParentThingGroups(java.util.Collection)
or
withRootToParentThingGroups(java.util.Collection)
if you want to override the existing values.
rootToParentThingGroups
- The root parent thing group.public ThingGroupMetadata withRootToParentThingGroups(Collection<GroupNameAndArn> rootToParentThingGroups)
The root parent thing group.
rootToParentThingGroups
- The root parent thing group.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 Date getCreationDate()
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.
creationDate
- The UNIX timestamp of when the thing group was created.public String toString()
toString
in class Object
Object.toString()
public ThingGroupMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.