public GetDeploymentsRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
The next page of elements from this collection. Not valid for the last element of the collection.
</p>

@param nextToken
       The next page of elements from this collection. Not valid for the last element of the collection.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/GetDeploymentsRequest.java