@Generated(value="software.amazon.awssdk:codegen") public final class ThingGroupMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ThingGroupMetadata.Builder,ThingGroupMetadata>
Thing group metadata.
Modifier and Type | Class and Description |
---|---|
static interface |
ThingGroupMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
static ThingGroupMetadata.Builder |
builder() |
Instant |
creationDate()
The UNIX timestamp of when the thing group was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRootToParentThingGroups()
Returns true if the RootToParentThingGroups property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
String |
parentGroupName()
The parent thing group name.
|
List<GroupNameAndArn> |
rootToParentThingGroups()
The root parent thing group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ThingGroupMetadata.Builder> |
serializableBuilderClass() |
ThingGroupMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String parentGroupName()
The parent thing group name.
public boolean hasRootToParentThingGroups()
public List<GroupNameAndArn> rootToParentThingGroups()
The root parent thing group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRootToParentThingGroups()
to see if a value was sent in this field.
public Instant creationDate()
The UNIX timestamp of when the thing group was created.
public ThingGroupMetadata.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ThingGroupMetadata.Builder,ThingGroupMetadata>
public static ThingGroupMetadata.Builder builder()
public static Class<? extends ThingGroupMetadata.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.