class EC2RaiderImpl implements EC2Raider {

    @Override
    public List<String> getEc2InstanceIPsForAvailabilityZone(String availabilityZone, List<String> instanceIdsToIgnore) {

        if (instanceIdsToIgnore == null) {
            instanceIdsToIgnore = new ArrayList<>();
        }

        List<String> instanceIps = new ArrayList<String>();
        for (Reservation reservation : getReservationsByAvailabilityZone(availabilityZone)) {
            for (Instance instance : reservation.getInstances()) {
                if (Ec2Utils.isAwsInfrastructure(instance)
                        || instanceIdsToIgnore.contains(instance.getInstanceId())) {
                    continue;
                }
                instanceIps.add(instance.getPrivateIpAddress());
            }
        }
        return instanceIps;
    }

    public  EC2RaiderImpl();

}