public SubnetMapping withIPAddressType(String iPAddressType) {
        setIPAddressType(iPAddressType);
        return this;
    }
<p>
The subnet's IP address type. You can't change the IP address type after you create the subnet.
</p>

@param iPAddressType
       The subnet's IP address type. You can't change the IP address type after you create the subnet.
@return Returns a reference to this object so that method calls can be chained together.
@see IPAddressType
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/SubnetMapping.java