@Generated(value="software.amazon.awssdk:codegen") public final class ThingAttribute extends Object implements SdkPojo, Serializable, 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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ThingAttribute.Builder> |
serializableBuilderClass() |
String |
thingArn()
The thing ARN.
|
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.
|
copy
public 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 String thingArn()
The thing ARN.
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ThingAttribute.Builder,ThingAttribute>
public static ThingAttribute.Builder builder()
public static Class<? extends ThingAttribute.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.