public String getSortBy() {
        return this.sortBy;
    }
<p>
The criterion to be used to list report groups shared with the current Amazon Web Services account or user. Valid
values include:
</p>
<ul>
<li>
<p>
<code>ARN</code>: List based on the ARN.
</p>
</li>
<li>
<p>
<code>MODIFIED_TIME</code>: List based on when information about the shared report group was last changed.
</p>
</li>
</ul>

@return The criterion to be used to list report groups shared with the current Amazon Web Services account or
        user. Valid values include: </p>
        <ul>
        <li>
        <p>
        <code>ARN</code>: List based on the ARN.
        </p>
        </li>
        <li>
        <p>
        <code>MODIFIED_TIME</code>: List based on when information about the shared report group was last
        changed.
        </p>
        </li>
@see SharedResourceSortByType
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/ListSharedReportGroupsRequest.java