public ListInfrastructureConfigurationsResult withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
The next token used for paginated responses. When this field isn't empty, there are additional elements that the
service hasn't included in this request. Use this token with the next request to retrieve additional objects.
</p>

@param nextToken
       The next token used for paginated responses. When this field isn't empty, there are additional elements
       that the service hasn't included in this request. Use this token with the next request to retrieve
       additional objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/ListInfrastructureConfigurationsResult.java