Interface DescribeThingResponse.Builder

    • 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 the UpdateThing and DeleteThing 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 the UpdateThing and DeleteThing 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.