public BodySectionDynamicNumericDimensionConfiguration withSortByMetrics(ColumnSort... sortByMetrics) {
        if (this.sortByMetrics == null) {
            setSortByMetrics(new java.util.ArrayList<ColumnSort>(sortByMetrics.length));
        }
        for (ColumnSort ele : sortByMetrics) {
            this.sortByMetrics.add(ele);
        }
        return this;
    }
<p>
Sort criteria on the column values that you use for repetition.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSortByMetrics(java.util.Collection)} or {@link #withSortByMetrics(java.util.Collection)} if you want
to override the existing values.
</p>

@param sortByMetrics
       Sort criteria on the column values that you use for repetition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/BodySectionDynamicNumericDimensionConfiguration.java