public ListIntentMetricsRequest withBinBy(AnalyticsBinBySpecification... binBy) {
        if (this.binBy == null) {
            setBinBy(new java.util.ArrayList<AnalyticsBinBySpecification>(binBy.length));
        }
        for (AnalyticsBinBySpecification ele : binBy) {
            this.binBy.add(ele);
        }
        return this;
    }
<p>
A list of objects, each of which contains specifications for organizing the results by time.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setBinBy(java.util.Collection)} or {@link #withBinBy(java.util.Collection)} if you want to override the
existing values.
</p>

@param binBy
       A list of objects, each of which contains specifications for organizing the results by time.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/ListIntentMetricsRequest.java