public CreateLabelRequest withRating(String rating) {
        setRating(rating);
        return this;
    }
<p>
Indicates whether a labeled event represents an anomaly.
</p>

@param rating
       Indicates whether a labeled event represents an anomaly.
@return Returns a reference to this object so that method calls can be chained together.
@see LabelRating
aws-java-sdk-lookoutequipment/src/main/java/com/amazonaws/services/lookoutequipment/model/CreateLabelRequest.java