public void setPublicIp(String publicIp) {
        this.publicIp = publicIp;
    }
<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.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2EipDetails.java