public IpAddressUpdate withIp(String ip) {
        setIp(ip);
        return this;
    }
<p>
The new IPv4 address.
</p>

@param ip
       The new IPv4 address.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53resolver/src/main/java/com/amazonaws/services/route53resolver/model/IpAddressUpdate.java