public class LoadBalancerDescription extends Object implements Serializable, Cloneable
Information about a load balancer.
Constructor and Description |
---|
LoadBalancerDescription()
Default constructor for a new LoadBalancerDescription object.
|
Modifier and Type | Method and Description |
---|---|
LoadBalancerDescription |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
The Availability Zones for the load balancer.
|
List<BackendServerDescription> |
getBackendServerDescriptions()
Information about the back-end servers.
|
String |
getCanonicalHostedZoneName()
The Amazon Route 53 hosted zone associated with the load balancer.
|
String |
getCanonicalHostedZoneNameID()
The ID of the Amazon Route 53 hosted zone name associated with the
load balancer.
|
Date |
getCreatedTime()
The date and time the load balancer was created.
|
String |
getDNSName()
The external DNS name of the load balancer.
|
HealthCheck |
getHealthCheck()
Information about the health checks conducted on the load balancer.
|
List<Instance> |
getInstances()
The IDs of the instances for the load balancer.
|
List<ListenerDescription> |
getListenerDescriptions()
The listeners for the load balancer.
|
String |
getLoadBalancerName()
The name of the load balancer.
|
Policies |
getPolicies()
The policies defined for the load balancer.
|
String |
getScheme()
The type of load balancer.
|
List<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.
|
List<String> |
getSubnets()
The IDs of the subnets for the load balancer.
|
String |
getVPCId()
The ID of the VPC for the load balancer.
|
int |
hashCode() |
void |
setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the load balancer.
|
void |
setBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Information about the back-end servers.
|
void |
setCanonicalHostedZoneName(String canonicalHostedZoneName)
The Amazon Route 53 hosted zone associated with the load balancer.
|
void |
setCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone name associated with the
load balancer.
|
void |
setCreatedTime(Date createdTime)
The date and time the load balancer was created.
|
void |
setDNSName(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(Collection<Instance> instances)
The IDs of the instances for the load balancer.
|
void |
setListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
|
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setPolicies(Policies policies)
The policies defined for the load balancer.
|
void |
setScheme(String scheme)
The type of load balancer.
|
void |
setSecurityGroups(Collection<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(Collection<String> subnets)
The IDs of the subnets for the load balancer.
|
void |
setVPCId(String vPCId)
The ID of the VPC for the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoadBalancerDescription |
withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancerDescription |
withAvailabilityZones(String... availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancerDescription |
withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Information about the back-end servers.
|
LoadBalancerDescription |
withBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Information about the back-end servers.
|
LoadBalancerDescription |
withCanonicalHostedZoneName(String canonicalHostedZoneName)
The Amazon Route 53 hosted zone associated with the load balancer.
|
LoadBalancerDescription |
withCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
The ID of the Amazon Route 53 hosted zone name associated with the
load balancer.
|
LoadBalancerDescription |
withCreatedTime(Date createdTime)
The date and time the load balancer was created.
|
LoadBalancerDescription |
withDNSName(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(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(Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
|
LoadBalancerDescription |
withListenerDescriptions(ListenerDescription... listenerDescriptions)
The listeners for the load balancer.
|
LoadBalancerDescription |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
LoadBalancerDescription |
withPolicies(Policies policies)
The policies defined for the load balancer.
|
LoadBalancerDescription |
withScheme(String scheme)
The type of load balancer.
|
LoadBalancerDescription |
withSecurityGroups(Collection<String> securityGroups)
The security groups for the load balancer.
|
LoadBalancerDescription |
withSecurityGroups(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(Collection<String> subnets)
The IDs of the subnets for the load balancer.
|
LoadBalancerDescription |
withSubnets(String... subnets)
The IDs of the subnets for the load balancer.
|
LoadBalancerDescription |
withVPCId(String vPCId)
The ID of the VPC for the load balancer.
|
public LoadBalancerDescription()
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name of the load balancer.public LoadBalancerDescription withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name of the load balancer.public String getDNSName()
public void setDNSName(String dNSName)
dNSName
- The external DNS name of the load balancer.public LoadBalancerDescription withDNSName(String dNSName)
Returns a reference to this object so that method calls can be chained together.
dNSName
- The external DNS name of the load balancer.public String getCanonicalHostedZoneName()
For more information, see Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
For more information, see Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
public void setCanonicalHostedZoneName(String canonicalHostedZoneName)
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(String canonicalHostedZoneName)
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 String getCanonicalHostedZoneNameID()
public void setCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
canonicalHostedZoneNameID
- The ID of the Amazon Route 53 hosted zone name associated with the
load balancer.public LoadBalancerDescription withCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
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 List<ListenerDescription> getListenerDescriptions()
public void setListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
listenerDescriptions
- The listeners for the load balancer.public LoadBalancerDescription withListenerDescriptions(ListenerDescription... listenerDescriptions)
NOTE: This method appends the values to the existing list (if
any). Use setListenerDescriptions(java.util.Collection)
or
withListenerDescriptions(java.util.Collection)
if you want to
override the existing values.
Returns a reference to this object so that method calls can be chained together.
listenerDescriptions
- The listeners for the load balancer.public LoadBalancerDescription withListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
Returns a reference to this object so that method calls can be chained together.
listenerDescriptions
- The listeners for the load balancer.public Policies getPolicies()
public void setPolicies(Policies policies)
policies
- The policies defined for the load balancer.public LoadBalancerDescription withPolicies(Policies policies)
Returns a reference to this object so that method calls can be chained together.
policies
- The policies defined for the load balancer.public List<BackendServerDescription> getBackendServerDescriptions()
public void setBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
backendServerDescriptions
- Information about the back-end servers.public LoadBalancerDescription withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
NOTE: This method appends the values to the existing list (if
any). Use setBackendServerDescriptions(java.util.Collection)
or withBackendServerDescriptions(java.util.Collection)
if you
want to override the existing values.
Returns a reference to this object so that method calls can be chained together.
backendServerDescriptions
- Information about the back-end servers.public LoadBalancerDescription withBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Returns a reference to this object so that method calls can be chained together.
backendServerDescriptions
- Information about the back-end servers.public List<String> getAvailabilityZones()
public void setAvailabilityZones(Collection<String> availabilityZones)
availabilityZones
- The Availability Zones for the load balancer.public LoadBalancerDescription withAvailabilityZones(String... availabilityZones)
NOTE: This method appends the values to the existing list (if
any). Use setAvailabilityZones(java.util.Collection)
or
withAvailabilityZones(java.util.Collection)
if you want to
override the existing values.
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(Collection<String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- The Availability Zones for the load balancer.public List<String> getSubnets()
public void setSubnets(Collection<String> subnets)
subnets
- The IDs of the subnets for the load balancer.public LoadBalancerDescription withSubnets(String... subnets)
NOTE: This method appends the values to the existing list (if
any). Use setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override the
existing values.
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(Collection<String> subnets)
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 String getVPCId()
public void setVPCId(String vPCId)
vPCId
- The ID of the VPC for the load balancer.public LoadBalancerDescription withVPCId(String vPCId)
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 List<Instance> getInstances()
public void setInstances(Collection<Instance> instances)
instances
- The IDs of the instances for the load balancer.public LoadBalancerDescription withInstances(Instance... instances)
NOTE: This method appends the values to the existing list (if
any). Use setInstances(java.util.Collection)
or withInstances(java.util.Collection)
if you want to override the
existing values.
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(Collection<Instance> instances)
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()
public void setHealthCheck(HealthCheck healthCheck)
healthCheck
- Information about the health checks conducted on the load balancer.public LoadBalancerDescription withHealthCheck(HealthCheck healthCheck)
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()
public void setSourceSecurityGroup(SourceSecurityGroup 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.public LoadBalancerDescription withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
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 List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- The security groups for the load balancer. Valid only for load
balancers in a VPC.public LoadBalancerDescription withSecurityGroups(String... securityGroups)
NOTE: This method appends the values to the existing list (if
any). Use setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want to override the
existing values.
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(Collection<String> securityGroups)
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 Date getCreatedTime()
public void setCreatedTime(Date createdTime)
createdTime
- The date and time the load balancer was created.public LoadBalancerDescription withCreatedTime(Date createdTime)
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 String getScheme()
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.
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(String scheme)
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(String scheme)
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 String toString()
toString
in class Object
Object.toString()
public LoadBalancerDescription clone()
Copyright © 2015. All rights reserved.