Interface DescribeThingResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeThingResponse.Builder,DescribeThingResponse>
,IotResponse.Builder
,SdkBuilder<DescribeThingResponse.Builder,DescribeThingResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeThingResponse
public static interface DescribeThingResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeThingResponse.Builder,DescribeThingResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
defaultClientId
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 IoT fleet without removing the flexibility of the underlying device certificate model or shadows.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingName
DescribeThingResponse.Builder thingName(String thingName)
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.
-
thingId
DescribeThingResponse.Builder thingId(String thingId)
The ID of the thing to describe.
- Parameters:
thingId
- The ID of the thing to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingArn
DescribeThingResponse.Builder thingArn(String thingArn)
The ARN of the thing to describe.
- Parameters:
thingArn
- The ARN of the thing to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingTypeName
DescribeThingResponse.Builder thingTypeName(String thingTypeName)
The thing type name.
- Parameters:
thingTypeName
- The thing type name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
DescribeThingResponse.Builder attributes(Map<String,String> attributes)
The thing attributes.
- Parameters:
attributes
- The thing attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
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 theUpdateThing
andDeleteThing
calls.- Parameters:
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 theUpdateThing
andDeleteThing
calls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingGroupName
DescribeThingResponse.Builder billingGroupName(String billingGroupName)
The name of the billing group the thing belongs to.
- Parameters:
billingGroupName
- The name of the billing group the thing belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-