public CreateIPSetRequest withIPAddressVersion(IPAddressVersion iPAddressVersion) {
        this.iPAddressVersion = iPAddressVersion.toString();
        return this;
    }
<p>
The version of the IP addresses, either <code>IPV4</code> or <code>IPV6</code>.
</p>

@param iPAddressVersion
       The version of the IP addresses, either <code>IPV4</code> or <code>IPV6</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see IPAddressVersion
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/CreateIPSetRequest.java