public DeviceShadowEnrichActivity withAttribute(String attribute) {
        setAttribute(attribute);
        return this;
    }
<p>
The name of the attribute that is added to the message.
</p>

@param attribute
       The name of the attribute that is added to the message.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/DeviceShadowEnrichActivity.java