protected LoadBalancer()

in elb/src/main/java/org/jclouds/elb/domain/LoadBalancer.java [269:288]


   protected LoadBalancer(String name, Date createdTime, String dnsName, HealthCheck healthCheck,
         Iterable<String> instanceIds, Iterable<ListenerWithPolicies> listeners, Iterable<String> availabilityZones,
         Optional<Scheme> scheme, Optional<SecurityGroupAndOwner> sourceSecurityGroup, Optional<String> VPCId,
         Iterable<String> securityGroups, Iterable<String> subnets, Optional<String> hostedZoneName,
         Optional<String> hostedZoneId) {
      this.name = checkNotNull(name, "name");
      this.createdTime = checkNotNull(createdTime, "createdTime");
      this.dnsName = checkNotNull(dnsName, "dnsName");
      this.healthCheck = checkNotNull(healthCheck, "healthCheck");
      this.instanceIds = ImmutableSet.copyOf(checkNotNull(instanceIds, "instanceIds"));
      this.listeners = ImmutableSet.copyOf(checkNotNull(listeners, "listeners"));
      this.availabilityZones = ImmutableSet.copyOf(checkNotNull(availabilityZones, "availabilityZones"));
      this.scheme = checkNotNull(scheme, "scheme");
      this.sourceSecurityGroup = checkNotNull(sourceSecurityGroup, "sourceSecurityGroup");
      this.VPCId = checkNotNull(VPCId, "VPCId");
      this.securityGroups = ImmutableSet.copyOf(checkNotNull(securityGroups, "securityGroups"));
      this.subnets = ImmutableSet.copyOf(checkNotNull(subnets, "subnets"));
      this.hostedZoneName = checkNotNull(hostedZoneName, "hostedZoneName");
      this.hostedZoneId = checkNotNull(hostedZoneId, "hostedZoneId");
   }