@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThingDocument extends Object implements Serializable, Cloneable, StructuredPojo
The thing search index document.
Constructor and Description |
---|
ThingDocument() |
Modifier and Type | Method and Description |
---|---|
ThingDocument |
addAttributesEntry(String key,
String value) |
ThingDocument |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
ThingDocument |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
The attributes.
|
String |
getShadow()
The shadow.
|
List<String> |
getThingGroupNames()
Thing group names.
|
String |
getThingId()
The thing ID.
|
String |
getThingName()
The thing name.
|
String |
getThingTypeName()
The thing type name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Map<String,String> attributes)
The attributes.
|
void |
setShadow(String shadow)
The shadow.
|
void |
setThingGroupNames(Collection<String> thingGroupNames)
Thing group names.
|
void |
setThingId(String thingId)
The thing ID.
|
void |
setThingName(String thingName)
The thing name.
|
void |
setThingTypeName(String thingTypeName)
The thing type name.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ThingDocument |
withAttributes(Map<String,String> attributes)
The attributes.
|
ThingDocument |
withShadow(String shadow)
The shadow.
|
ThingDocument |
withThingGroupNames(Collection<String> thingGroupNames)
Thing group names.
|
ThingDocument |
withThingGroupNames(String... thingGroupNames)
Thing group names.
|
ThingDocument |
withThingId(String thingId)
The thing ID.
|
ThingDocument |
withThingName(String thingName)
The thing name.
|
ThingDocument |
withThingTypeName(String thingTypeName)
The thing type name.
|
public void setThingName(String thingName)
The thing name.
thingName
- The thing name.public String getThingName()
The thing name.
public ThingDocument withThingName(String thingName)
The thing name.
thingName
- The thing name.public void setThingId(String thingId)
The thing ID.
thingId
- The thing ID.public String getThingId()
The thing ID.
public ThingDocument withThingId(String thingId)
The thing ID.
thingId
- The thing ID.public void setThingTypeName(String thingTypeName)
The thing type name.
thingTypeName
- The thing type name.public String getThingTypeName()
The thing type name.
public ThingDocument withThingTypeName(String thingTypeName)
The thing type name.
thingTypeName
- The thing type name.public List<String> getThingGroupNames()
Thing group names.
public void setThingGroupNames(Collection<String> thingGroupNames)
Thing group names.
thingGroupNames
- Thing group names.public ThingDocument withThingGroupNames(String... thingGroupNames)
Thing group names.
NOTE: This method appends the values to the existing list (if any). Use
setThingGroupNames(java.util.Collection)
or withThingGroupNames(java.util.Collection)
if you
want to override the existing values.
thingGroupNames
- Thing group names.public ThingDocument withThingGroupNames(Collection<String> thingGroupNames)
Thing group names.
thingGroupNames
- Thing group names.public void setAttributes(Map<String,String> attributes)
The attributes.
attributes
- The attributes.public ThingDocument withAttributes(Map<String,String> attributes)
The attributes.
attributes
- The attributes.public ThingDocument addAttributesEntry(String key, String value)
public ThingDocument clearAttributesEntries()
public void setShadow(String shadow)
The shadow.
shadow
- The shadow.public String getShadow()
The shadow.
public ThingDocument withShadow(String shadow)
The shadow.
shadow
- The shadow.public String toString()
toString
in class Object
Object.toString()
public ThingDocument clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.