Interface CreateThingRequest.Builder

    • Method Detail

      • thingName

        CreateThingRequest.Builder thingName​(String thingName)

        The name of the thing to create.

        You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

        Parameters:
        thingName - The name of the thing to create.

        You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • thingTypeName

        CreateThingRequest.Builder thingTypeName​(String thingTypeName)

        The name of the thing type associated with the new thing.

        Parameters:
        thingTypeName - The name of the thing type associated with the new thing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributePayload

        CreateThingRequest.Builder attributePayload​(AttributePayload attributePayload)

        The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:

        {\"attributes\":{\"string1\":\"string2\"}}

        Parameters:
        attributePayload - The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:

        {\"attributes\":{\"string1\":\"string2\"}}

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • billingGroupName

        CreateThingRequest.Builder billingGroupName​(String billingGroupName)

        The name of the billing group the thing will be added to.

        Parameters:
        billingGroupName - The name of the billing group the thing will be added to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.