public SearchStepsRequest withSortExpressions(SearchSortExpression... sortExpressions) {
        if (this.sortExpressions == null) {
            setSortExpressions(new java.util.ArrayList<SearchSortExpression>(sortExpressions.length));
        }
        for (SearchSortExpression ele : sortExpressions) {
            this.sortExpressions.add(ele);
        }
        return this;
    }
<p>
The search terms for a resource.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSortExpressions(java.util.Collection)} or {@link #withSortExpressions(java.util.Collection)} if you
want to override the existing values.
</p>

@param sortExpressions
       The search terms for a resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/SearchStepsRequest.java