StructuredPojo
, ToCopyableBuilder<ThingAttribute.Builder,ThingAttribute>
@Generated("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 | Description |
---|---|---|
static interface |
ThingAttribute.Builder |
Modifier and Type | Method | Description |
---|---|---|
Map<String,String> |
attributes() |
A list of thing attributes which are name-value pairs.
|
static ThingAttribute.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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.
|
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 Map<String,String> attributes()
A list of thing attributes which are name-value pairs.
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.