Licensed to jclouds, Inc. (jclouds) under one or more
contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. jclouds licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
import static com.google.common.base.Preconditions.checkNotNull;
A load balancer is represented by a DNS name and a set of ports. The load balancer is the
destination to which all requests intended for your application should be directed. Each load
balancer can distribute requests to multiple EC2 instances. Load Balancers can span multiple
Availability Zones within an EC2 region, but they cannot span multiple regions.
Elastic Load Balancing automatically generates a DNS name for each load balancer. You can map any
other domain name (such as www.example.com) to the automatically generated DNS name using CNAME.
Or you can use an Amazon Route 53 alias for the load balancer's DNS name. Amazon Route 53
provides secure and reliable routing to the infrastructure that uses AWS products, such as Amazon
EC2, Amazon Simple Storage Service (Amazon S3), or Elastic Load Balancing. For more information
on using Amazon Route 53 for your load balancer, see Using Domain Names with Elastic Load
Balancing. For information about CNAME records, see the CNAME Record Wikipedia article.
- Adrian Cole
- See also:
Specifies the type of LoadBalancer. This option is only available for LoadBalancers attached
to an Amazon VPC.
the LoadBalancer has a publicly resolvable DNS name that resolves to public IP addresses
the LoadBalancer has a publicly resolvable DNS name that resolves to private IP addresses.
The scheme was returned unrecognized.
protected abstract T self();
The name associated with the LoadBalancer. The name must be unique within your set of
Provides the date and time the LoadBalancer was created.
Specifies the external DNS name associated with the LoadBalancer.
Specifies information regarding the various health probes conducted on the LoadBalancer.
Provides a list of EC2 instance IDs for the LoadBalancer.
Provides a list of listeners for the LoadBalancer.
Type of the loadbalancer; This option is only available for LoadBalancers attached to an
Provides the ID of the VPC attached to the LoadBalancer.