public ListEnvironmentTemplateVersionsRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
A token that indicates the location of the next major or minor version in the array of major or minor versions of
an environment template, after the list of major or minor versions that was previously requested.
</p>

@param nextToken
       A token that indicates the location of the next major or minor version in the array of major or minor
       versions of an environment template, after the list of major or minor versions that was previously
       requested.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ListEnvironmentTemplateVersionsRequest.java