public ListResourceDefinitionVersionsRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
The token for the next set of results, or ''null'' if there are no additional results.

@param nextToken
       The token for the next set of results, or ''null'' if there are no additional results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/ListResourceDefinitionVersionsRequest.java