Package com.amazonaws.services.elasticloadbalancing.model

Examples of com.amazonaws.services.elasticloadbalancing.model.DescribeLoadBalancersResult


    if (this.loadBalancerNames.isEmpty()) {
      request = new DescribeLoadBalancersRequest();
    } else {
      request = new DescribeLoadBalancersRequest(this.loadBalancerNames);
    }
    DescribeLoadBalancersResult result = getClient().getApi()
        .describeLoadBalancers(request);
    List<LoadBalancerDescription> loadBalancerDescriptions = result
        .getLoadBalancerDescriptions();
    return loadBalancerDescriptions;
  }
View Full Code Here


            LOGGER.info(String.format("Getting ELBs for %d names in region %s.", names.length, region));
        }

        AmazonElasticLoadBalancingClient elbClient = elbClient();
        DescribeLoadBalancersRequest request = new DescribeLoadBalancersRequest().withLoadBalancerNames(names);
        DescribeLoadBalancersResult result = elbClient.describeLoadBalancers(request);
        List<LoadBalancerDescription> elbs = result.getLoadBalancerDescriptions();
        LOGGER.info(String.format("Got %d ELBs in region %s.", elbs.size(), region));
        return elbs;
    }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.elasticloadbalancing.model.DescribeLoadBalancersResult

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.