class EC2RaiderImpl implements EC2Raider {

    @Override
    public void terminateEc2InstancesById(String... instanceIds) {

        if (instanceIds.length <= 0 || instanceIds == null) {
            throw new InvalidInputDataException("Invalid list of instanceIds");
        }
        TerminateInstancesRequest request1 = new TerminateInstancesRequest().withInstanceIds(instanceIds);
        TerminateInstancesResult response = ec2Delegator.getEc2().terminateInstances(request1);
    }

    public  EC2RaiderImpl();

}