public ListSharedEndpointsRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
If a previous response from this operation included a <code>NextToken</code> value, you can provide that value
here to retrieve the next page of results.
</p>

@param nextToken
       If a previous response from this operation included a <code>NextToken</code> value, you can provide that
       value here to retrieve the next page of results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-s3outposts/src/main/java/com/amazonaws/services/s3outposts/model/ListSharedEndpointsRequest.java