public InstanceInZone(Instance instance, String zoneId) { super(zoneId, checkNotNull(instance, "instance").getName()); this.instance = instance; }
public InstanceInZone(Instance instance, String zoneId) { super(zoneId, checkNotNull(instance, "instance").getName()); this.instance = instance; }
@Override public boolean apply(InstanceInZone instanceInZone) { return contains(ids, instanceInZone.getInstance().getName()); } });
@Override public boolean apply(InstanceInZone instanceInZone) { return contains(ids, instanceInZone.getInstance().getName()); } });
input.getName(), nodeNamingConvention); FluentIterable<String> tags = FluentIterable.from(input.getTags().getItems()); if (group != null) { .getId(), input.getName()).slashEncode()) .name(input.getName()) .providerId(input.getId()) .hostname(input.getName()) .location(checkNotNull(locations.get().get(input.getZone()), "location for %s", input.getZone())) .hardware(hardwares.get().get(input.getMachineType()))
input.getName(), nodeNamingConvention); FluentIterable<String> tags = FluentIterable.from(input.getTags().getItems()) .filter(Predicates.not(firewallTagNamingConvention.get(group).isFirewallTag())); .getId(), input.getName()).slashEncode()) .name(input.getName()) .providerId(input.getId()) .hostname(input.getName()) .location(checkNotNull(locations.get().get(input.getZone()), "location for %s", input.getZone())) .hardware(hardwares.get().get(input.getMachineType()))
instanceApi.setTagsInZone(zone, instance.get().getName(), tags, instance.get().getTags().getFingerprint());
instanceApi.setTagsInZone(zone, instance.get().getName(), tags, instance.get().getTags().getFingerprint());