public AnalyticsBinKey withName(String name) {
        setName(name);
        return this;
    }
<p>
The criterion by which to bin the results.
</p>

@param name
       The criterion by which to bin the results.
@return Returns a reference to this object so that method calls can be chained together.
@see AnalyticsBinByName
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/AnalyticsBinKey.java