@Generated(value="software.amazon.awssdk:codegen") public final class ThingGroupDocument extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ThingGroupDocument.Builder,ThingGroupDocument>
The thing group search index document.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ThingGroupDocument.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
attributes()
The thing group attributes.
|
static ThingGroupDocument.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttributes()
Returns true if the Attributes property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasParentGroupNames()
Returns true if the ParentGroupNames property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<String> |
parentGroupNames()
Parent group names.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ThingGroupDocument.Builder> |
serializableBuilderClass() |
String |
thingGroupDescription()
The thing group description.
|
String |
thingGroupId()
The thing group ID.
|
String |
thingGroupName()
The thing group name.
|
ThingGroupDocument.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String thingGroupName()
The thing group name.
public String thingGroupId()
The thing group ID.
public String thingGroupDescription()
The thing group description.
public boolean hasAttributes()
public Map<String,String> attributes()
The thing group attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttributes() to see if a value was sent in this field.
public boolean hasParentGroupNames()
public List<String> parentGroupNames()
Parent group names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParentGroupNames() to see if a value was sent in this field.
public ThingGroupDocument.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ThingGroupDocument.Builder,ThingGroupDocument>public static ThingGroupDocument.Builder builder()
public static Class<? extends ThingGroupDocument.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.