Class DescribeThingResult
- All Implemented Interfaces:
Serializable
,Cloneable
The output from the DescribeThing operation.
- 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, which are name/value pairs in JSON format (for example: {\"attributes\":{\"some-name1\":\"some-value1\"}, {\"some-name2\":\"some-value2\"}, {\"some-name3\":\"some-value3\"}})The default client ID.The name of the thing.int
hashCode()
void
setAttributes
(Map<String, String> attributes) The attributes, which are name/value pairs in JSON format (for example: {\"attributes\":{\"some-name1\":\"some-value1\"}, {\"some-name2\":\"some-value2\"}, {\"some-name3\":\"some-value3\"}})void
setDefaultClientId
(String defaultClientId) The default client ID.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, which are name/value pairs in JSON format (for example: {\"attributes\":{\"some-name1\":\"some-value1\"}, {\"some-name2\":\"some-value2\"}, {\"some-name3\":\"some-value3\"}})withDefaultClientId
(String defaultClientId) The default client ID.withThingName
(String thingName) The name of the thing.
-
Constructor Details
-
DescribeThingResult
public DescribeThingResult()
-
-
Method Details
-
setDefaultClientId
The default client ID.
- Parameters:
defaultClientId
- The default client ID.
-
getDefaultClientId
The default client ID.
- Returns:
- The default client ID.
-
withDefaultClientId
The default client ID.
- Parameters:
defaultClientId
- The default client ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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, which are name/value pairs in JSON format (for example: {\"attributes\":{\"some-name1\":\"some-value1\"}, {\"some-name2\":\"some-value2\"}, {\"some-name3\":\"some-value3\"}})
- Returns:
- The attributes, which are name/value pairs in JSON format (for example: {\"attributes\":{\"some-name1\":\"some-value1\"}, {\"some-name2\":\"some-value2\"}, {\"some-name3\":\"some-value3\"}})
-
setAttributes
The attributes, which are name/value pairs in JSON format (for example: {\"attributes\":{\"some-name1\":\"some-value1\"}, {\"some-name2\":\"some-value2\"}, {\"some-name3\":\"some-value3\"}})
- Parameters:
attributes
- The attributes, which are name/value pairs in JSON format (for example: {\"attributes\":{\"some-name1\":\"some-value1\"}, {\"some-name2\":\"some-value2\"}, {\"some-name3\":\"some-value3\"}})
-
withAttributes
The attributes, which are name/value pairs in JSON format (for example: {\"attributes\":{\"some-name1\":\"some-value1\"}, {\"some-name2\":\"some-value2\"}, {\"some-name3\":\"some-value3\"}})
- Parameters:
attributes
- The attributes, which are name/value pairs in JSON format (for example: {\"attributes\":{\"some-name1\":\"some-value1\"}, {\"some-name2\":\"some-value2\"}, {\"some-name3\":\"some-value3\"}})- 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
-