public ListDeploymentsResult withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to
retrieve the next set of items.
</p>

@param nextToken
       If there are more items to return, this contains a token that is passed to a subsequent call to this
       operation to retrieve the next set of items.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mainframemodernization/src/main/java/com/amazonaws/services/mainframemodernization/model/ListDeploymentsResult.java