public TargetGroupSummary withIpAddressType(String ipAddressType) {
        setIpAddressType(ipAddressType);
        return this;
    }
<p>
The type of IP address used for the target group. The possible values are <code>IPV4</code> and <code>IPV6</code>
. This is an optional parameter. If not specified, the default is <code>IPV4</code>.
</p>

@param ipAddressType
       The type of IP address used for the target group. The possible values are <code>IPV4</code> and
       <code>IPV6</code>. This is an optional parameter. If not specified, the default is <code>IPV4</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see IpAddressType
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/TargetGroupSummary.java