public void setSortBy(String sortBy) {
        this.sortBy = sortBy;
    }
<p>
The criterion to be used to list build report groups. Valid values include:
</p>
<ul>
<li>
<p>
<code>CREATED_TIME</code>: List based on when each report group was created.
</p>
</li>
<li>
<p>
<code>LAST_MODIFIED_TIME</code>: List based on when each report group was last changed.
</p>
</li>
<li>
<p>
<code>NAME</code>: List based on each report group's name.
</p>
</li>
</ul>

@param sortBy
       The criterion to be used to list build report groups. Valid values include: </p>
       <ul>
       <li>
       <p>
       <code>CREATED_TIME</code>: List based on when each report group was created.
       </p>
       </li>
       <li>
       <p>
       <code>LAST_MODIFIED_TIME</code>: List based on when each report group was last changed.
       </p>
       </li>
       <li>
       <p>
       <code>NAME</code>: List based on each report group's name.
       </p>
       </li>
@see ReportGroupSortByType
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/ListReportGroupsRequest.java