public GetDedicatedIpRequest withIp(String ip) {
        setIp(ip);
        return this;
    }
<p>
The IP address that you want to obtain more information about. The value you specify has to be a dedicated IP
address that's assocaited with your Amazon Web Services account.
</p>

@param ip
       The IP address that you want to obtain more information about. The value you specify has to be a dedicated
       IP address that's assocaited with your Amazon Web Services account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/GetDedicatedIpRequest.java