|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.elb.domain.LoadBalancer
public class LoadBalancer
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.
| Nested Class Summary | |
|---|---|
static class |
LoadBalancer.Builder<T extends LoadBalancer.Builder<T>>
|
| Field Summary | |
|---|---|
protected Set<String> |
availabilityZones
|
protected Date |
createdTime
|
protected String |
dnsName
|
protected HealthCheck |
healthCheck
|
protected com.google.common.base.Optional<String> |
hostedZoneId
|
protected com.google.common.base.Optional<String> |
hostedZoneName
|
protected Set<String> |
instanceIds
|
protected Set<ListenerWithPolicies> |
listeners
|
protected String |
name
|
protected com.google.common.base.Optional<Scheme> |
scheme
|
protected Set<String> |
securityGroups
|
protected com.google.common.base.Optional<SecurityGroupAndOwner> |
sourceSecurityGroup
|
protected Set<String> |
subnets
|
protected com.google.common.base.Optional<String> |
VPCId
|
| Constructor Summary | |
|---|---|
protected |
LoadBalancer(String name,
Date createdTime,
String dnsName,
HealthCheck healthCheck,
Iterable<String> instanceIds,
Iterable<ListenerWithPolicies> listeners,
Iterable<String> availabilityZones,
com.google.common.base.Optional<Scheme> scheme,
com.google.common.base.Optional<SecurityGroupAndOwner> sourceSecurityGroup,
com.google.common.base.Optional<String> VPCId,
Iterable<String> securityGroups,
Iterable<String> subnets,
com.google.common.base.Optional<String> hostedZoneName,
com.google.common.base.Optional<String> hostedZoneId)
|
| Method Summary | |
|---|---|
static LoadBalancer.Builder<?> |
builder()
|
boolean |
equals(Object obj)
|
Set<String> |
getAvailabilityZones()
Specifies a list of Availability Zones. |
Date |
getCreatedTime()
Provides the date and time the LoadBalancer was created. |
String |
getDnsName()
Specifies the external DNS name associated with the LoadBalancer. |
HealthCheck |
getHealthCheck()
Specifies information regarding the various health probes conducted on the LoadBalancer. |
com.google.common.base.Optional<String> |
getHostedZoneId()
Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer. |
com.google.common.base.Optional<String> |
getHostedZoneName()
Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer |
Set<String> |
getInstanceIds()
Provides a list of EC2 instance IDs for the LoadBalancer. |
Set<ListenerWithPolicies> |
getListeners()
Provides a list of listeners for the LoadBalancer. |
String |
getName()
The name associated with the LoadBalancer. |
com.google.common.base.Optional<Scheme> |
getScheme()
Type of the loadbalancer; This option is only available for LoadBalancers attached to an Amazon VPC. |
Set<String> |
getSecurityGroups()
The security groups the LoadBalancer is a member of (VPC only). |
com.google.common.base.Optional<SecurityGroupAndOwner> |
getSourceSecurityGroup()
The security group that you can use as part of your inbound rules for your LoadBalancer's back-end Amazon EC2 application instances. |
Set<String> |
getSubnets()
Provides a list of VPC subnet IDs for the LoadBalancer. |
com.google.common.base.Optional<String> |
getVPCId()
Provides the ID of the VPC attached to the LoadBalancer. |
int |
hashCode()
|
LoadBalancer.Builder<?> |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final String name
protected final Date createdTime
protected final String dnsName
protected final HealthCheck healthCheck
protected final Set<String> instanceIds
protected final Set<ListenerWithPolicies> listeners
protected final Set<String> availabilityZones
protected final com.google.common.base.Optional<Scheme> scheme
protected final com.google.common.base.Optional<SecurityGroupAndOwner> sourceSecurityGroup
protected final com.google.common.base.Optional<String> VPCId
protected final Set<String> securityGroups
protected final Set<String> subnets
protected final com.google.common.base.Optional<String> hostedZoneName
protected final com.google.common.base.Optional<String> hostedZoneId
| Constructor Detail |
|---|
protected LoadBalancer(String name,
Date createdTime,
String dnsName,
HealthCheck healthCheck,
Iterable<String> instanceIds,
Iterable<ListenerWithPolicies> listeners,
Iterable<String> availabilityZones,
com.google.common.base.Optional<Scheme> scheme,
com.google.common.base.Optional<SecurityGroupAndOwner> sourceSecurityGroup,
com.google.common.base.Optional<String> VPCId,
Iterable<String> securityGroups,
Iterable<String> subnets,
com.google.common.base.Optional<String> hostedZoneName,
com.google.common.base.Optional<String> hostedZoneId)
| Method Detail |
|---|
public static LoadBalancer.Builder<?> builder()
public LoadBalancer.Builder<?> toBuilder()
public String getName()
public Date getCreatedTime()
public String getDnsName()
public HealthCheck getHealthCheck()
public Set<String> getInstanceIds()
public Set<ListenerWithPolicies> getListeners()
public Set<String> getAvailabilityZones()
public com.google.common.base.Optional<Scheme> getScheme()
public com.google.common.base.Optional<SecurityGroupAndOwner> getSourceSecurityGroup()
public com.google.common.base.Optional<String> getVPCId()
public Set<String> getSecurityGroups()
public Set<String> getSubnets()
public com.google.common.base.Optional<String> getHostedZoneName()
public com.google.common.base.Optional<String> getHostedZoneId()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||