@Override
public Class<Cache> getObjectType() {
return Cache.class;
}
@Override
<BUG>protected Cache createInstance() throws Exception {
DescribeCacheClustersResult describeCacheClustersResult = this.amazonElastiCache.describeCacheClusters(new DescribeCacheClustersRequest().withCacheClusterId(getCacheClusterName()));
</BUG>
CacheCluster cacheCluster = describeCacheClustersResult.getCacheClusters().get(0);
if (!"available".equals(cacheCluster.getCacheClusterStatus())) {

@Override
public Class<Cache> getObjectType() {
return Cache.class;
}
@Override
protected Cache createInstance() throws Exception {
DescribeCacheClustersRequest describeCacheClustersRequest = new DescribeCacheClustersRequest().withCacheClusterId(getCacheClusterName());
describeCacheClustersRequest.setShowCacheNodeInfo(true);
DescribeCacheClustersResult describeCacheClustersResult = this.amazonElastiCache.describeCacheClusters(describeCacheClustersRequest);
CacheCluster cacheCluster = describeCacheClustersResult.getCacheClusters().get(0);
if (!"available".equals(cacheCluster.getCacheClusterStatus())) {
