public static String lookup(boolean local, Instance instance, String address, Network network) { return lookup(local, instance.getHostname(), instance.getDomain(), address, network.getDomain()); }
.withDefault(Collections.EMPTY_MAP).as(Map.class); this.labels = labels; this.hostname = instance.getHostname(); this.ports = DataAccessor.fields(instance) .withKey(InstanceConstants.FIELD_PORTS).withDefault(Collections.EMPTY_LIST)
setMemoryMb(from.getMemoryMb()); setImageId(from.getImageId()); setHostname(from.getHostname()); setZoneId(from.getZoneId()); setInstanceTriggeredStop(from.getInstanceTriggeredStop());