this.loadBalancerNames = Arrays.asList(loadBalancerNames);
}
@Override
public List<LoadBalancerDescription> call() {
DescribeLoadBalancersRequest request = null;
if (this.loadBalancerNames.isEmpty()) {
request = new DescribeLoadBalancersRequest();
} else {
request = new DescribeLoadBalancersRequest(this.loadBalancerNames);
}
DescribeLoadBalancersResult result = getClient().getApi()
.describeLoadBalancers(request);
List<LoadBalancerDescription> loadBalancerDescriptions = result
.getLoadBalancerDescriptions();