@Generated(value="software.amazon.awssdk:codegen") public final class ThingDocument extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ThingDocument.Builder,ThingDocument>
The thing search index document.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ThingDocument.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
attributes()
The attributes.
|
static ThingDocument.Builder |
builder() |
ThingConnectivity |
connectivity()
Indicates whether the thing is connected to the AWS IoT service.
|
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 |
hasThingGroupNames()
Returns true if the ThingGroupNames 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<SdkField<?>> |
sdkFields() |
static Class<? extends ThingDocument.Builder> |
serializableBuilderClass() |
String |
shadow()
The shadow.
|
List<String> |
thingGroupNames()
Thing group names.
|
String |
thingId()
The thing ID.
|
String |
thingName()
The thing name.
|
String |
thingTypeName()
The thing type name.
|
ThingDocument.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String thingName()
The thing name.
public String thingId()
The thing ID.
public String thingTypeName()
The thing type name.
public boolean hasThingGroupNames()
public List<String> thingGroupNames()
Thing group names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasThingGroupNames() to see if a value was sent in this field.
public boolean hasAttributes()
public Map<String,String> attributes()
The 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 String shadow()
The shadow.
public ThingConnectivity connectivity()
Indicates whether the thing is connected to the AWS IoT service.
public ThingDocument.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ThingDocument.Builder,ThingDocument>public static ThingDocument.Builder builder()
public static Class<? extends ThingDocument.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.