Package com.amazonaws.services.elasticache.model

Examples of com.amazonaws.services.elasticache.model.DescribeCacheClustersRequest


        }
    }

    private String getElastiCacheEndpoints(String clusterId) {
        AmazonElastiCacheClient elastiCacheClient = new AmazonElastiCacheClient(new BasicAWSCredentials(awsAccessKey, awsSecretKey));
        DescribeCacheClustersRequest request = new DescribeCacheClustersRequest();
        request.setCacheClusterId(clusterId);
        request.setShowCacheNodeInfo(true);
        DescribeCacheClustersResult result = elastiCacheClient.describeCacheClusters(request);
        List<String> endpoints = new ArrayList<String>();
        if (result != null) {
            for (CacheCluster cacheCluster : result.getCacheClusters()) {
                for (CacheNode node : cacheCluster.getCacheNodes()) {
View Full Code Here

TOP

Related Classes of com.amazonaws.services.elasticache.model.DescribeCacheClustersRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.