public CreateThingRequest withAttributePayload(AttributePayload attributePayload) {
        setAttributePayload(attributePayload);
        return this;
    }
<p>
The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:
</p>
<p>
<code>{\"attributes\":{\"string1\":\"string2\"}}</code>
</p>

@param attributePayload
       The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:</p>
       <p>
       <code>{\"attributes\":{\"string1\":\"string2\"}}</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CreateThingRequest.java