public Cluster withIpAddressType(String ipAddressType) {
        setIpAddressType(ipAddressType);
        return this;
    }
<p>
The IP address type for the cluster. Possible values are <code>ipv4</code> and <code>dualstack</code>.
</p>

@param ipAddressType
       The IP address type for the cluster. Possible values are <code>ipv4</code> and <code>dualstack</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/Cluster.java