public AwsEc2EipDetails withPublicIp(String publicIp) {
        setPublicIp(publicIp);
        return this;
    }
<p>
A public IP address that is associated with the EC2 instance.
</p>

@param publicIp
       A public IP address that is associated with the EC2 instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2EipDetails.java