private final List<LbaasMapping> lbaasMappings = Lists.newArrayList();
private final List<String> roles = Lists.newArrayList();
private List<InetAddress> publicIps;
public void build(InstanceData instance) {
MetadataData metadata = instance.getMetadata();
this.publicIps = getIps(instance, true);
for (MetadataEntryData entry : metadata.getEntryList()) {
String key = entry.getKey();
String value = entry.getValue();
if (key.equals(KEY_DNS_HOST)) {
addDnsHost(instance, value);