public static interface DescribeThingResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeThingResponse.Builder,DescribeThingResponse>
Modifier and Type | Method and Description |
---|---|
DescribeThingResponse.Builder |
attributes(Map<String,String> attributes)
The thing attributes.
|
DescribeThingResponse.Builder |
billingGroupName(String billingGroupName)
The name of the billing group the thing belongs to.
|
DescribeThingResponse.Builder |
defaultClientId(String defaultClientId)
The default MQTT client ID.
|
DescribeThingResponse.Builder |
thingArn(String thingArn)
The ARN of the thing to describe.
|
DescribeThingResponse.Builder |
thingId(String thingId)
The ID of the thing to describe.
|
DescribeThingResponse.Builder |
thingName(String thingName)
The name of the thing.
|
DescribeThingResponse.Builder |
thingTypeName(String thingTypeName)
The thing type name.
|
DescribeThingResponse.Builder |
version(Long version)
The current version of the thing record in the registry.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeThingResponse.Builder defaultClientId(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 AWS 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 AWS IoT fleet without removing the flexibility of the underlying device certificate model or shadows.
DescribeThingResponse.Builder thingName(String thingName)
The name of the thing.
thingName
- The name of the thing.DescribeThingResponse.Builder thingId(String thingId)
The ID of the thing to describe.
thingId
- The ID of the thing to describe.DescribeThingResponse.Builder thingArn(String thingArn)
The ARN of the thing to describe.
thingArn
- The ARN of the thing to describe.DescribeThingResponse.Builder thingTypeName(String thingTypeName)
The thing type name.
thingTypeName
- The thing type name.DescribeThingResponse.Builder attributes(Map<String,String> attributes)
The thing attributes.
attributes
- The thing attributes.DescribeThingResponse.Builder version(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.
DescribeThingResponse.Builder billingGroupName(String billingGroupName)
The name of the billing group the thing belongs to.
billingGroupName
- The name of the billing group the thing belongs to.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.