public ListSessionAnalyticsDataRequest withSortBy(SessionDataSortBy sortBy) {
        setSortBy(sortBy);
        return this;
    }
<p>
An object specifying the measure and method by which to sort the session analytics data.
</p>

@param sortBy
       An object specifying the measure and method by which to sort the session analytics data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/ListSessionAnalyticsDataRequest.java