@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)
Add a single Attributes entry
|
DescribeThingResult |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
DescribeThingResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
The thing attributes.
|
String |
getBillingGroupName()
The name of the billing group the thing belongs to.
|
String |
getDefaultClientId()
The default MQTT client ID.
|
String |
getThingArn()
The ARN of the thing to describe.
|
String |
getThingId()
The ID of the thing to describe.
|
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 |
setBillingGroupName(String billingGroupName)
The name of the billing group the thing belongs to.
|
void |
setDefaultClientId(String defaultClientId)
The default MQTT client ID.
|
void |
setThingArn(String thingArn)
The ARN of the thing to describe.
|
void |
setThingId(String thingId)
The ID of the thing to describe.
|
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.
|
DescribeThingResult |
withAttributes(Map<String,String> attributes)
The thing attributes.
|
DescribeThingResult |
withBillingGroupName(String billingGroupName)
The name of the billing group the thing belongs to.
|
DescribeThingResult |
withDefaultClientId(String defaultClientId)
The default MQTT client ID.
|
DescribeThingResult |
withThingArn(String thingArn)
The ARN of the thing to describe.
|
DescribeThingResult |
withThingId(String thingId)
The ID of the thing to describe.
|
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 MQTT client ID. For a typical device, the thing name is also used as the default MQTT client ID. Although we don’t require a mapping between a thing's registry name and its use of MQTT client IDs, certificates, or shadow state, we recommend that you choose a thing name and use it as the MQTT client ID for the registry and the Device Shadow service.
This lets you better organize your IoT fleet without removing the flexibility of the underlying device certificate model or shadows.
defaultClientId
- The default MQTT client ID. For a typical device, the thing name is also used as the default MQTT client
ID. Although we don’t require a mapping between a thing's registry name and its use of MQTT client IDs,
certificates, or shadow state, we recommend that you choose a thing name and use it as the MQTT client ID
for the registry and the Device Shadow service.
This lets you better organize your IoT fleet without removing the flexibility of the underlying device certificate model or shadows.
public String getDefaultClientId()
The default MQTT client ID. For a typical device, the thing name is also used as the default MQTT client ID. Although we don’t require a mapping between a thing's registry name and its use of MQTT client IDs, certificates, or shadow state, we recommend that you choose a thing name and use it as the MQTT client ID for the registry and the Device Shadow service.
This lets you better organize your IoT fleet without removing the flexibility of the underlying device certificate model or shadows.
This lets you better organize your IoT fleet without removing the flexibility of the underlying device certificate model or shadows.
public DescribeThingResult withDefaultClientId(String defaultClientId)
The default MQTT client ID. For a typical device, the thing name is also used as the default MQTT client ID. Although we don’t require a mapping between a thing's registry name and its use of MQTT client IDs, certificates, or shadow state, we recommend that you choose a thing name and use it as the MQTT client ID for the registry and the Device Shadow service.
This lets you better organize your IoT fleet without removing the flexibility of the underlying device certificate model or shadows.
defaultClientId
- The default MQTT client ID. For a typical device, the thing name is also used as the default MQTT client
ID. Although we don’t require a mapping between a thing's registry name and its use of MQTT client IDs,
certificates, or shadow state, we recommend that you choose a thing name and use it as the MQTT client ID
for the registry and the Device Shadow service.
This lets you better organize your IoT fleet without removing the flexibility of the underlying device certificate model or shadows.
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 setThingId(String thingId)
The ID of the thing to describe.
thingId
- The ID of the thing to describe.public String getThingId()
The ID of the thing to describe.
public DescribeThingResult withThingId(String thingId)
The ID of the thing to describe.
thingId
- The ID of the thing to describe.public void setThingArn(String thingArn)
The ARN of the thing to describe.
thingArn
- The ARN of the thing to describe.public String getThingArn()
The ARN of the thing to describe.
public DescribeThingResult withThingArn(String thingArn)
The ARN of the thing to describe.
thingArn
- The ARN of the thing to describe.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 void setBillingGroupName(String billingGroupName)
The name of the billing group the thing belongs to.
billingGroupName
- The name of the billing group the thing belongs to.public String getBillingGroupName()
The name of the billing group the thing belongs to.
public DescribeThingResult withBillingGroupName(String billingGroupName)
The name of the billing group the thing belongs to.
billingGroupName
- The name of the billing group the thing belongs to.public String toString()
toString
in class Object
Object.toString()
public DescribeThingResult clone()