Package com.amazonaws.services.iot.model
Class ThingAttribute
java.lang.Object
com.amazonaws.services.iot.model.ThingAttribute
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a thing attribute.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesEntry
(String key, String value) Removes all the entries added into Attributes.clone()
boolean
The attributes.The name of the thing.int
hashCode()
void
setAttributes
(Map<String, String> attributes) The attributes.void
setThingName
(String thingName) The name of the thing.toString()
Returns a string representation of this object; useful for testing and debugging.withAttributes
(Map<String, String> attributes) The attributes.withThingName
(String thingName) The name of the thing.
-
Constructor Details
-
ThingAttribute
public ThingAttribute()
-
-
Method Details
-
setThingName
The name of the thing.
- Parameters:
thingName
- The name of the thing.
-
getThingName
The name of the thing.
- Returns:
- The name of the thing.
-
withThingName
The name of the thing.
- Parameters:
thingName
- The name of the thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributes
The attributes.
- Returns:
- The attributes.
-
setAttributes
The attributes.
- Parameters:
attributes
- The attributes.
-
withAttributes
The attributes.
- Parameters:
attributes
- The attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAttributesEntry
-
clearAttributesEntries
Removes all the entries added into Attributes. <p> Returns a reference to this object so that method calls can be chained together. -
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-