@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeThingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output from the DescribeThing operation.
Constructor and Description |
---|
DescribeThingResult() |
Modifier and Type | Method and Description |
---|---|
DescribeThingResult |
addAttributesEntry(String key,
String value) |
DescribeThingResult |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
DescribeThingResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
The thing attributes.
|
String |
getDefaultClientId()
The default client ID.
|
String |
getThingName()
The name of the thing.
|
String |
getThingTypeName()
The thing type name.
|
Long |
getVersion()
The current version of the thing record in the registry.
|
int |
hashCode() |
void |
setAttributes(Map<String,String> attributes)
The thing attributes.
|
void |
setDefaultClientId(String defaultClientId)
The default client ID.
|
void |
setThingName(String thingName)
The name of the thing.
|
void |
setThingTypeName(String thingTypeName)
The thing type name.
|
void |
setVersion(Long version)
The current version of the thing record in the registry.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeThingResult |
withAttributes(Map<String,String> attributes)
The thing attributes.
|
DescribeThingResult |
withDefaultClientId(String defaultClientId)
The default client ID.
|
DescribeThingResult |
withThingName(String thingName)
The name of the thing.
|
DescribeThingResult |
withThingTypeName(String thingTypeName)
The thing type name.
|
DescribeThingResult |
withVersion(Long version)
The current version of the thing record in the registry.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDefaultClientId(String defaultClientId)
The default client ID.
defaultClientId
- The default client ID.public String getDefaultClientId()
The default client ID.
public DescribeThingResult withDefaultClientId(String defaultClientId)
The default client ID.
defaultClientId
- The default client ID.public void setThingName(String thingName)
The name of the thing.
thingName
- The name of the thing.public String getThingName()
The name of the thing.
public DescribeThingResult withThingName(String thingName)
The name of the thing.
thingName
- The name of the thing.public void setThingTypeName(String thingTypeName)
The thing type name.
thingTypeName
- The thing type name.public String getThingTypeName()
The thing type name.
public DescribeThingResult withThingTypeName(String thingTypeName)
The thing type name.
thingTypeName
- The thing type name.public Map<String,String> getAttributes()
The thing attributes.
public void setAttributes(Map<String,String> attributes)
The thing attributes.
attributes
- The thing attributes.public DescribeThingResult withAttributes(Map<String,String> attributes)
The thing attributes.
attributes
- The thing attributes.public DescribeThingResult addAttributesEntry(String key, String value)
public DescribeThingResult clearAttributesEntries()
public void setVersion(Long version)
The current version of the thing record in the registry.
To avoid unintentional changes to the information in the registry, you can pass the version information in the
expectedVersion
parameter of the UpdateThing
and DeleteThing
calls.
version
- The current version of the thing record in the registry.
To avoid unintentional changes to the information in the registry, you can pass the version information in
the expectedVersion
parameter of the UpdateThing
and DeleteThing
calls.
public Long getVersion()
The current version of the thing record in the registry.
To avoid unintentional changes to the information in the registry, you can pass the version information in the
expectedVersion
parameter of the UpdateThing
and DeleteThing
calls.
To avoid unintentional changes to the information in the registry, you can pass the version information
in the expectedVersion
parameter of the UpdateThing
and
DeleteThing
calls.
public DescribeThingResult withVersion(Long version)
The current version of the thing record in the registry.
To avoid unintentional changes to the information in the registry, you can pass the version information in the
expectedVersion
parameter of the UpdateThing
and DeleteThing
calls.
version
- The current version of the thing record in the registry.
To avoid unintentional changes to the information in the registry, you can pass the version information in
the expectedVersion
parameter of the UpdateThing
and DeleteThing
calls.
public String toString()
toString
in class Object
Object.toString()
public DescribeThingResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.