class ElastiCacheStepDefinitions {

    @When("^detach ElastiCache subnet \"([^\"]*)\"$")
    public ElastiCacheStepDefinitions detachElastiCacheSubnet(String subnetId) 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.detachSubnet(clusterName, subnetId);
        return this;

    }

    public  ElastiCacheStepDefinitions();

}