class EBSRaiderImpl implements EBSRaider {

    public Map getVolumesState(String... volumeIds) {

        Map volumeState = new HashMap();
        List<Volume> volumes = ec2Delegator.getEc2().describeVolumes(new DescribeVolumesRequest().withVolumeIds(volumeIds)).getVolumes();


        for (Volume volume : volumes) {
            String status = volume.getState();
            String volumeId = volume.getVolumeId();
            volumeState.put(volumeId, status);

        }

        return volumeState;
    }

    public  EBSRaiderImpl();

}