Package com.amazonaws.services.elasticloadbalancing.model

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


      if (existingLoadBalancers.contains(this.loadBalancerName)) {
        throw new IllegalArgumentException(String.format(
            "A load balancer with name '%s' already exists.",
            this.loadBalancerName));
      }
      CreateLoadBalancerRequest request = new CreateLoadBalancerRequest()
          .withLoadBalancerName(this.loadBalancerName)
          .withAvailabilityZones(this.availabilityZones)
          .withListeners(this.portForwarding);
      CreateLoadBalancerResult result = getClient().getApi()
          .createLoadBalancer(request);
View Full Code Here

TOP

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

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.