public ListOptimizationJobsRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
A token that you use to get the next set of results following a truncated response. If the response to the
previous request was truncated, that response provides the value for this token.
</p>

@param nextToken
       A token that you use to get the next set of results following a truncated response. If the response to the
       previous request was truncated, that response provides the value for this token.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListOptimizationJobsRequest.java