class ElastiCacheStepDefinitions {

    @When("^remove ElastiCache nodes (\\d+)$")
    public ElastiCacheStepDefinitions removeElastiCacheNodes(int numNodes) throws Throwable {

        String clusterName = executionStateCache.getElastiCacheClusterName();
        if (clusterName == null || clusterName.isEmpty()) {
            throw new RuntimeException("Unable to reboot elastiCache cluster as no cluster information is available");
        }

        elastiCacheRaider.removeNodesFromCluster(clusterName, numNodes);
        return this;
    }

    public  ElastiCacheStepDefinitions();

}