@Generated(value="software.amazon.awssdk:codegen") public class ThingAttribute extends Object implements StructuredPojo, ToCopyableBuilder<ThingAttribute.Builder,ThingAttribute>
The properties of the thing, including thing name, thing type name, and a list of thing attributes.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ThingAttribute.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
attributes()
A list of thing attributes which are name-value pairs.
|
static ThingAttribute.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends ThingAttribute.Builder> |
serializableBuilderClass() |
String |
thingName()
The name of the thing.
|
String |
thingTypeName()
The name of the thing type, if the thing has been associated with a type.
|
ThingAttribute.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Long |
version()
The version of the thing record in the registry.
|
copypublic String thingName()
The name of the thing.
public String thingTypeName()
The name of the thing type, if the thing has been associated with a type.
public Map<String,String> attributes()
A list of thing attributes which are name-value pairs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Long version()
The version of the thing record in the registry.
public ThingAttribute.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ThingAttribute.Builder,ThingAttribute>public static ThingAttribute.Builder builder()
public static Class<? extends ThingAttribute.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.