public class LoadBalancerDescription
extends java.lang.Object
implements java.io.Serializable
Information about a load balancer.
Constructor and Description |
---|
LoadBalancerDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAvailabilityZones()
The Availability Zones for the load balancer.
|
java.util.List<BackendServerDescription> |
getBackendServerDescriptions()
Information about the back-end servers.
|
java.lang.String |
getCanonicalHostedZoneName()
The Amazon Route 53 hosted zone associated with the load balancer.
|
java.lang.String |
getCanonicalHostedZoneNameID()
The ID of the Amazon Route 53 hosted zone name associated with the load
balancer.
|
java.util.Date |
getCreatedTime()
The date and time the load balancer was created.
|
java.lang.String |
getDNSName()
The external DNS name of the load balancer.
|
HealthCheck |
getHealthCheck()
Information about the health checks conducted on the load balancer.
|
java.util.List<Instance> |
getInstances()
The IDs of the instances for the load balancer.
|
java.util.List<ListenerDescription> |
getListenerDescriptions()
The listeners for the load balancer.
|
java.lang.String |
getLoadBalancerName()
The name of the load balancer.
|
Policies |
getPolicies()
The policies defined for the load balancer.
|
java.lang.String |
getScheme()
The type of load balancer.
|
java.util.List<java.lang.String> |
getSecurityGroups()
The security groups for the load balancer.
|
SourceSecurityGroup |
getSourceSecurityGroup()
The security group that you can use as part of your inbound rules for
your load balancer's back-end application instances.
|
java.util.List<java.lang.String> |
getSubnets()
The IDs of the subnets for the load balancer.
|
java.lang.String |
getVPCId()
The ID of the VPC for the load balancer.
|
int |
hashCode() |
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
The Availability Zones for the load balancer.
|
void |
setBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
Information about the back-end servers.
|
void |
setCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
The Amazon Route 53 hosted zone associated with the load balancer.
|
void |
setCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone name associated with the load
balancer.
|
void |
setCreatedTime(java.util.Date createdTime)
The date and time the load balancer was created.
|
void |
setDNSName(java.lang.String dNSName)
The external DNS name of the load balancer.
|
void |
setHealthCheck(HealthCheck healthCheck)
Information about the health checks conducted on the load balancer.
|
void |
setInstances(java.util.Collection<Instance> instances)
The IDs of the instances for the load balancer.
|
void |
setListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
void |
setPolicies(Policies policies)
The policies defined for the load balancer.
|
void |
setScheme(java.lang.String scheme)
The type of load balancer.
|
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups for the load balancer.
|
void |
setSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group that you can use as part of your inbound rules for
your load balancer's back-end application instances.
|
void |
setSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the subnets for the load balancer.
|
void |
setVPCId(java.lang.String vPCId)
The ID of the VPC for the load balancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoadBalancerDescription |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancerDescription |
withAvailabilityZones(java.lang.String... availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancerDescription |
withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Information about the back-end servers.
|
LoadBalancerDescription |
withBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
Information about the back-end servers.
|
LoadBalancerDescription |
withCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
The Amazon Route 53 hosted zone associated with the load balancer.
|
LoadBalancerDescription |
withCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone name associated with the load
balancer.
|
LoadBalancerDescription |
withCreatedTime(java.util.Date createdTime)
The date and time the load balancer was created.
|
LoadBalancerDescription |
withDNSName(java.lang.String dNSName)
The external DNS name of the load balancer.
|
LoadBalancerDescription |
withHealthCheck(HealthCheck healthCheck)
Information about the health checks conducted on the load balancer.
|
LoadBalancerDescription |
withInstances(java.util.Collection<Instance> instances)
The IDs of the instances for the load balancer.
|
LoadBalancerDescription |
withInstances(Instance... instances)
The IDs of the instances for the load balancer.
|
LoadBalancerDescription |
withListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
|
LoadBalancerDescription |
withListenerDescriptions(ListenerDescription... listenerDescriptions)
The listeners for the load balancer.
|
LoadBalancerDescription |
withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
|
LoadBalancerDescription |
withPolicies(Policies policies)
The policies defined for the load balancer.
|
LoadBalancerDescription |
withScheme(java.lang.String scheme)
The type of load balancer.
|
LoadBalancerDescription |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups for the load balancer.
|
LoadBalancerDescription |
withSecurityGroups(java.lang.String... securityGroups)
The security groups for the load balancer.
|
LoadBalancerDescription |
withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group that you can use as part of your inbound rules for
your load balancer's back-end application instances.
|
LoadBalancerDescription |
withSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the subnets for the load balancer.
|
LoadBalancerDescription |
withSubnets(java.lang.String... subnets)
The IDs of the subnets for the load balancer.
|
LoadBalancerDescription |
withVPCId(java.lang.String vPCId)
The ID of the VPC for the load balancer.
|
public java.lang.String getLoadBalancerName()
The name of the load balancer.
The name of the load balancer.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.
public LoadBalancerDescription withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name of the load balancer.
public java.lang.String getDNSName()
The external DNS name of the load balancer.
The external DNS name of the load balancer.
public void setDNSName(java.lang.String dNSName)
The external DNS name of the load balancer.
dNSName
- The external DNS name of the load balancer.
public LoadBalancerDescription withDNSName(java.lang.String dNSName)
The external DNS name of the load balancer.
Returns a reference to this object so that method calls can be chained together.
dNSName
- The external DNS name of the load balancer.
public java.lang.String getCanonicalHostedZoneName()
The Amazon Route 53 hosted zone associated with the load balancer.
For more information, see Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
The Amazon Route 53 hosted zone associated with the load balancer.
For more information, see Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
public void setCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
The Amazon Route 53 hosted zone associated with the load balancer.
For more information, see Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
canonicalHostedZoneName
- The Amazon Route 53 hosted zone associated with the load balancer.
For more information, see Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
public LoadBalancerDescription withCanonicalHostedZoneName(java.lang.String canonicalHostedZoneName)
The Amazon Route 53 hosted zone associated with the load balancer.
For more information, see Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
Returns a reference to this object so that method calls can be chained together.
canonicalHostedZoneName
- The Amazon Route 53 hosted zone associated with the load balancer.
For more information, see Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
public java.lang.String getCanonicalHostedZoneNameID()
The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
public void setCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
canonicalHostedZoneNameID
- The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
public LoadBalancerDescription withCanonicalHostedZoneNameID(java.lang.String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
Returns a reference to this object so that method calls can be chained together.
canonicalHostedZoneNameID
- The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
public java.util.List<ListenerDescription> getListenerDescriptions()
The listeners for the load balancer.
The listeners for the load balancer.
public void setListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
listenerDescriptions
- The listeners for the load balancer.
public LoadBalancerDescription withListenerDescriptions(ListenerDescription... listenerDescriptions)
The listeners for the load balancer.
Returns a reference to this object so that method calls can be chained together.
listenerDescriptions
- The listeners for the load balancer.
public LoadBalancerDescription withListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
Returns a reference to this object so that method calls can be chained together.
listenerDescriptions
- The listeners for the load balancer.
public Policies getPolicies()
The policies defined for the load balancer.
The policies defined for the load balancer.
public void setPolicies(Policies policies)
The policies defined for the load balancer.
policies
- The policies defined for the load balancer.
public LoadBalancerDescription withPolicies(Policies policies)
The policies defined for the load balancer.
Returns a reference to this object so that method calls can be chained together.
policies
- The policies defined for the load balancer.
public java.util.List<BackendServerDescription> getBackendServerDescriptions()
Information about the back-end servers.
Information about the back-end servers.
public void setBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
Information about the back-end servers.
backendServerDescriptions
- Information about the back-end servers.
public LoadBalancerDescription withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Information about the back-end servers.
Returns a reference to this object so that method calls can be chained together.
backendServerDescriptions
- Information about the back-end servers.
public LoadBalancerDescription withBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions)
Information about the back-end servers.
Returns a reference to this object so that method calls can be chained together.
backendServerDescriptions
- Information about the back-end servers.
public java.util.List<java.lang.String> getAvailabilityZones()
The Availability Zones for the load balancer.
The Availability Zones for the load balancer.
public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.
public LoadBalancerDescription withAvailabilityZones(java.lang.String... availabilityZones)
The Availability Zones for the load balancer.
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- The Availability Zones for the load balancer.
public LoadBalancerDescription withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
The Availability Zones for the load balancer.
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- The Availability Zones for the load balancer.
public java.util.List<java.lang.String> getSubnets()
The IDs of the subnets for the load balancer.
The IDs of the subnets for the load balancer.
public void setSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the subnets for the load balancer.
subnets
- The IDs of the subnets for the load balancer.
public LoadBalancerDescription withSubnets(java.lang.String... subnets)
The IDs of the subnets for the load balancer.
Returns a reference to this object so that method calls can be chained together.
subnets
- The IDs of the subnets for the load balancer.
public LoadBalancerDescription withSubnets(java.util.Collection<java.lang.String> subnets)
The IDs of the subnets for the load balancer.
Returns a reference to this object so that method calls can be chained together.
subnets
- The IDs of the subnets for the load balancer.
public java.lang.String getVPCId()
The ID of the VPC for the load balancer.
The ID of the VPC for the load balancer.
public void setVPCId(java.lang.String vPCId)
The ID of the VPC for the load balancer.
vPCId
- The ID of the VPC for the load balancer.
public LoadBalancerDescription withVPCId(java.lang.String vPCId)
The ID of the VPC for the load balancer.
Returns a reference to this object so that method calls can be chained together.
vPCId
- The ID of the VPC for the load balancer.
public java.util.List<Instance> getInstances()
The IDs of the instances for the load balancer.
The IDs of the instances for the load balancer.
public void setInstances(java.util.Collection<Instance> instances)
The IDs of the instances for the load balancer.
instances
- The IDs of the instances for the load balancer.
public LoadBalancerDescription withInstances(Instance... instances)
The IDs of the instances for the load balancer.
Returns a reference to this object so that method calls can be chained together.
instances
- The IDs of the instances for the load balancer.
public LoadBalancerDescription withInstances(java.util.Collection<Instance> instances)
The IDs of the instances for the load balancer.
Returns a reference to this object so that method calls can be chained together.
instances
- The IDs of the instances for the load balancer.
public HealthCheck getHealthCheck()
Information about the health checks conducted on the load balancer.
Information about the health checks conducted on the load balancer.
public void setHealthCheck(HealthCheck healthCheck)
Information about the health checks conducted on the load balancer.
healthCheck
- Information about the health checks conducted on the load balancer.
public LoadBalancerDescription withHealthCheck(HealthCheck healthCheck)
Information about the health checks conducted on the load balancer.
Returns a reference to this object so that method calls can be chained together.
healthCheck
- Information about the health checks conducted on the load balancer.
public SourceSecurityGroup getSourceSecurityGroup()
The security group that you can use as part of your inbound rules for your load balancer's back-end application instances. To only allow traffic from load balancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.
The security group that you can use as part of your inbound rules for your load balancer's back-end application instances. To only allow traffic from load balancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.
public void setSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group that you can use as part of your inbound rules for your load balancer's back-end application instances. To only allow traffic from load balancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.
sourceSecurityGroup
- The security group that you can use as part of your inbound rules for your load balancer's back-end application instances. To only allow traffic from load balancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.
public LoadBalancerDescription withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group that you can use as part of your inbound rules for your load balancer's back-end application instances. To only allow traffic from load balancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.
Returns a reference to this object so that method calls can be chained together.
sourceSecurityGroup
- The security group that you can use as part of your inbound rules for your load balancer's back-end application instances. To only allow traffic from load balancers, add a security group rule to your back end instance that specifies this source security group as the inbound source.
public java.util.List<java.lang.String> getSecurityGroups()
The security groups for the load balancer. Valid only for load balancers in a VPC.
The security groups for the load balancer. Valid only for load balancers in a VPC.
public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups for the load balancer. Valid only for load balancers in a VPC.
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.
public LoadBalancerDescription withSecurityGroups(java.lang.String... securityGroups)
The security groups for the load balancer. Valid only for load balancers in a VPC.
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.
public LoadBalancerDescription withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The security groups for the load balancer. Valid only for load balancers in a VPC.
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.
public java.util.Date getCreatedTime()
The date and time the load balancer was created.
The date and time the load balancer was created.
public void setCreatedTime(java.util.Date createdTime)
The date and time the load balancer was created.
createdTime
- The date and time the load balancer was created.
public LoadBalancerDescription withCreatedTime(java.util.Date createdTime)
The date and time the load balancer was created.
Returns a reference to this object so that method calls can be chained together.
createdTime
- The date and time the load balancer was created.
public java.lang.String getScheme()
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer
has a public DNS name that resolves to a public IP address.
If Scheme
is internal
, the load balancer has a
public DNS name that resolves to a private IP address.
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load
balancer has a public DNS name that resolves to a public IP
address.
If Scheme
is internal
, the load
balancer has a public DNS name that resolves to a private IP
address.
public void setScheme(java.lang.String scheme)
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer
has a public DNS name that resolves to a public IP address.
If Scheme
is internal
, the load balancer has a
public DNS name that resolves to a private IP address.
scheme
- The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the
load balancer has a public DNS name that resolves to a public
IP address.
If Scheme
is internal
, the load
balancer has a public DNS name that resolves to a private IP
address.
public LoadBalancerDescription withScheme(java.lang.String scheme)
The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the load balancer
has a public DNS name that resolves to a public IP address.
If Scheme
is internal
, the load balancer has a
public DNS name that resolves to a private IP address.
Returns a reference to this object so that method calls can be chained together.
scheme
- The type of load balancer. Valid only for load balancers in a VPC.
If Scheme
is internet-facing
, the
load balancer has a public DNS name that resolves to a public
IP address.
If Scheme
is internal
, the load
balancer has a public DNS name that resolves to a private IP
address.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.