class EC2RaiderImpl implements EC2Raider {

    @Override
    public void stopEc2Instances(String instanceId) {

        if (instanceId.isEmpty() || instanceId == null) {
            throw new InvalidInputDataException("Empty/Null instanceId provided in request");
        }

        StopInstancesRequest request = new StopInstancesRequest()
                .withInstanceIds(instanceId);

        StopInstancesResult response = ec2Delegator.getEc2().stopInstances(request);
    }

    public  EC2RaiderImpl();

}