class ElastiCacheStepDefinitions {

    @Then("^attach ElastiCache subnet \"([^\"]*)\"$")
    public ElastiCacheStepDefinitions attachElastiCacheSubnet(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.attachSubnet(clusterName, subnetId);
        return this;
    }

    public  ElastiCacheStepDefinitions();

}