public IpamDiscoveredPublicAddress withPublicIpv4PoolId(String publicIpv4PoolId) {
        setPublicIpv4PoolId(publicIpv4PoolId);
        return this;
    }
<p>
The ID of the public IPv4 pool that the resource with the assigned IP address is from.
</p>

@param publicIpv4PoolId
       The ID of the public IPv4 pool that the resource with the assigned IP address is from.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/IpamDiscoveredPublicAddress.java