public ListConfigurationsRequest withOrderBy(OrderByElement... orderBy) {
        if (this.orderBy == null) {
            setOrderBy(new java.util.ArrayList<OrderByElement>(orderBy.length));
        }
        for (OrderByElement ele : orderBy) {
            this.orderBy.add(ele);
        }
        return this;
    }
<p>
Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output
characteristics for each filter, see <a href=
"https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations"
>Using the ListConfigurations Action</a> in the <i>Amazon Web Services Application Discovery Service User
Guide</i>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOrderBy(java.util.Collection)} or {@link #withOrderBy(java.util.Collection)} if you want to override
the existing values.
</p>

@param orderBy
       Certain filter criteria return output that can be sorted in ascending or descending order. For a list of
       output characteristics for each filter, see <a href=
       "https://docs.aws.amazon.com/application-discovery/latest/userguide/discovery-api-queries.html#ListConfigurations"
       >Using the ListConfigurations Action</a> in the <i>Amazon Web Services Application Discovery Service User
       Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-discovery/src/main/java/com/amazonaws/services/applicationdiscovery/model/ListConfigurationsRequest.java