@Override public boolean apply(Location input) { return input.getId().equals(from.getRegion()); }
@Override public boolean apply(Location input) { return input.getId().equals(from.getRegion()); }
@Override public boolean apply(Location input) { return input.getId().equals(from.getRegion()); }
@Override public boolean apply(Location input) { return input.getId().equals(from.getRegion()); }
@Override public boolean apply(Location input) { return input.getId().equals(from.getRegion()); }
builder.id(from.getRegion() + "/" + from.getId()); builder.name(from.getName()); builder.description(from.getDescription() != null ? from.getDescription() : from.getImageLocation()); logger.error("unknown region %s for image %s; not in %s", from.getRegion(), from.getId(), locations); builder.location(new LocationBuilder().scope(LocationScope.REGION).id(from.getRegion()).description( from.getRegion()).parent(defaultLocation.get()).build());
builder.id(from.getRegion() + "/" + from.getId()); builder.name(from.getName()); builder.description(from.getDescription() != null ? from.getDescription() : from.getImageLocation()); logger.error("unknown region %s for image %s; not in %s", from.getRegion(), from.getId(), locations); builder.location(new LocationBuilder().scope(LocationScope.REGION).id(from.getRegion()).description( from.getRegion()).parent(defaultLocation.get()).build());
builder.id(from.getRegion() + "/" + from.getId()); builder.name(from.getName()); builder.description(from.getDescription() != null ? from.getDescription() : from.getImageLocation()); logger.error("unknown region %s for image %s; not in %s", from.getRegion(), from.getId(), locations); builder.location(new LocationBuilder().scope(LocationScope.REGION).id(from.getRegion()).description( from.getRegion()).parent(defaultLocation.get()).build());
builder.id(from.getRegion() + "/" + from.getId()); builder.name(from.getName()); builder.description(from.getDescription() != null ? from.getDescription() : from.getImageLocation()); logger.error("unknown region %s for image %s; not in %s", from.getRegion(), from.getId(), locations); builder.location(new LocationBuilder().scope(LocationScope.REGION).id(from.getRegion()).description( from.getRegion()).parent(defaultLocation.get()).build());
builder.id(from.getRegion() + "/" + from.getId()); builder.name(from.getName()); builder.description(from.getDescription() != null ? from.getDescription() : from.getImageLocation()); logger.error("unknown region %s for image %s; not in %s", from.getRegion(), from.getId(), locations); builder.location(new LocationBuilder().scope(LocationScope.REGION).id(from.getRegion()).description( from.getRegion()).parent(defaultLocation.get()).build());
client.getAMIApi().get().deregisterImageInRegion(ebsImage.getRegion(), ebsImage.getId()); } catch (Exception e) { e.printStackTrace();
client.getAMIServices().deregisterImageInRegion(ebsImage.getRegion(), ebsImage.getId()); } catch (Exception e) { e.printStackTrace();