public Device withAttributes(Attributes attributes) {
        setAttributes(attributes);
        return this;
    }
<p>
The user specified attributes associated with the device for an event.
</p>

@param attributes
       The user specified attributes associated with the device for an event.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot1clickdevices/src/main/java/com/amazonaws/services/iot1clickdevices/model/Device.java