public class LoadBalancerDescription extends Object implements Serializable
Contains the result of a successful invocation of DescribeLoadBalancers.
Constructor and Description |
---|
LoadBalancerDescription()
Default constructor for a new LoadBalancerDescription object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getAvailabilityZones()
Specifies a list of Availability Zones.
|
List<BackendServerDescription> |
getBackendServerDescriptions()
Contains a list of back-end server descriptions.
|
String |
getCanonicalHostedZoneName()
Provides the name of the Amazon Route 53 hosted zone that is
associated with the load balancer.
|
String |
getCanonicalHostedZoneNameID()
Provides the ID of the Amazon Route 53 hosted zone name that is
associated with the load balancer.
|
Date |
getCreatedTime()
Provides the date and time the load balancer was created.
|
String |
getDNSName()
Specifies the external DNS name associated with the load balancer.
|
HealthCheck |
getHealthCheck()
Specifies information regarding the various health probes conducted on
the load balancer.
|
List<Instance> |
getInstances()
Provides a list of EC2 instance IDs for the load balancer.
|
List<ListenerDescription> |
getListenerDescriptions()
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.
|
String |
getLoadBalancerName()
Specifies the name associated with the load balancer.
|
Policies |
getPolicies()
Provides a list of policies defined for the load balancer.
|
String |
getScheme()
Specifies the type of load balancer.
|
List<String> |
getSecurityGroups()
The security groups the load balancer is a member of (VPC only).
|
SourceSecurityGroup |
getSourceSecurityGroup()
The security group that you can use as part of your inbound rules for
your load balancer's back-end Amazon EC2 application instances.
|
List<String> |
getSubnets()
Provides a list of VPC subnet IDs for the load balancer.
|
String |
getVPCId()
Provides the ID of the VPC attached to the load balancer.
|
int |
hashCode() |
void |
setAvailabilityZones(Collection<String> availabilityZones)
Specifies a list of Availability Zones.
|
void |
setBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Contains a list of back-end server descriptions.
|
void |
setCanonicalHostedZoneName(String canonicalHostedZoneName)
Provides the name of the Amazon Route 53 hosted zone that is
associated with the load balancer.
|
void |
setCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
Provides the ID of the Amazon Route 53 hosted zone name that is
associated with the load balancer.
|
void |
setCreatedTime(Date createdTime)
Provides the date and time the load balancer was created.
|
void |
setDNSName(String dNSName)
Specifies the external DNS name associated with the load balancer.
|
void |
setHealthCheck(HealthCheck healthCheck)
Specifies information regarding the various health probes conducted on
the load balancer.
|
void |
setInstances(Collection<Instance> instances)
Provides a list of EC2 instance IDs for the load balancer.
|
void |
setListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.
|
void |
setLoadBalancerName(String loadBalancerName)
Specifies the name associated with the load balancer.
|
void |
setPolicies(Policies policies)
Provides a list of policies defined for the load balancer.
|
void |
setScheme(String scheme)
Specifies the type of load balancer.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The security groups the load balancer is a member of (VPC only).
|
void |
setSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group that you can use as part of your inbound rules for
your load balancer's back-end Amazon EC2 application instances.
|
void |
setSubnets(Collection<String> subnets)
Provides a list of VPC subnet IDs for the load balancer.
|
void |
setVPCId(String vPCId)
Provides the ID of the VPC attached to the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LoadBalancerDescription |
withAvailabilityZones(Collection<String> availabilityZones)
Specifies a list of Availability Zones.
|
LoadBalancerDescription |
withAvailabilityZones(String... availabilityZones)
Specifies a list of Availability Zones.
|
LoadBalancerDescription |
withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Contains a list of back-end server descriptions.
|
LoadBalancerDescription |
withBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Contains a list of back-end server descriptions.
|
LoadBalancerDescription |
withCanonicalHostedZoneName(String canonicalHostedZoneName)
Provides the name of the Amazon Route 53 hosted zone that is
associated with the load balancer.
|
LoadBalancerDescription |
withCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
Provides the ID of the Amazon Route 53 hosted zone name that is
associated with the load balancer.
|
LoadBalancerDescription |
withCreatedTime(Date createdTime)
Provides the date and time the load balancer was created.
|
LoadBalancerDescription |
withDNSName(String dNSName)
Specifies the external DNS name associated with the load balancer.
|
LoadBalancerDescription |
withHealthCheck(HealthCheck healthCheck)
Specifies information regarding the various health probes conducted on
the load balancer.
|
LoadBalancerDescription |
withInstances(Collection<Instance> instances)
Provides a list of EC2 instance IDs for the load balancer.
|
LoadBalancerDescription |
withInstances(Instance... instances)
Provides a list of EC2 instance IDs for the load balancer.
|
LoadBalancerDescription |
withListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.
|
LoadBalancerDescription |
withListenerDescriptions(ListenerDescription... listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.
|
LoadBalancerDescription |
withLoadBalancerName(String loadBalancerName)
Specifies the name associated with the load balancer.
|
LoadBalancerDescription |
withPolicies(Policies policies)
Provides a list of policies defined for the load balancer.
|
LoadBalancerDescription |
withScheme(String scheme)
Specifies the type of load balancer.
|
LoadBalancerDescription |
withSecurityGroups(Collection<String> securityGroups)
The security groups the load balancer is a member of (VPC only).
|
LoadBalancerDescription |
withSecurityGroups(String... securityGroups)
The security groups the load balancer is a member of (VPC only).
|
LoadBalancerDescription |
withSourceSecurityGroup(SourceSecurityGroup sourceSecurityGroup)
The security group that you can use as part of your inbound rules for
your load balancer's back-end Amazon EC2 application instances.
|
LoadBalancerDescription |
withSubnets(Collection<String> subnets)
Provides a list of VPC subnet IDs for the load balancer.
|
LoadBalancerDescription |
withSubnets(String... subnets)
Provides a list of VPC subnet IDs for the load balancer.
|
LoadBalancerDescription |
withVPCId(String vPCId)
Provides the ID of the VPC attached to the load balancer.
|
public LoadBalancerDescription()
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- Specifies the name associated with the load balancer.public LoadBalancerDescription withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- Specifies the name associated with the load balancer.public String getDNSName()
public void setDNSName(String dNSName)
dNSName
- Specifies the external DNS name associated with the load balancer.public LoadBalancerDescription withDNSName(String dNSName)
Returns a reference to this object so that method calls can be chained together.
dNSName
- Specifies the external DNS name associated with the load balancer.public String getCanonicalHostedZoneName()
public void setCanonicalHostedZoneName(String canonicalHostedZoneName)
canonicalHostedZoneName
- Provides the name of the Amazon Route 53 hosted zone that is
associated with the load balancer. For information on how to associate
your load balancer with a hosted zone, go to Using
Domain Names With Elastic Load Balancing in the Elastic Load
Balancing Developer Guide.public LoadBalancerDescription withCanonicalHostedZoneName(String canonicalHostedZoneName)
Returns a reference to this object so that method calls can be chained together.
canonicalHostedZoneName
- Provides the name of the Amazon Route 53 hosted zone that is
associated with the load balancer. For information on how to associate
your load balancer with a hosted zone, go to Using
Domain Names With Elastic Load Balancing in the Elastic Load
Balancing Developer Guide.public String getCanonicalHostedZoneNameID()
public void setCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
canonicalHostedZoneNameID
- Provides the ID of the Amazon Route 53 hosted zone name that is
associated with the load balancer. For information on how to associate
or disassociate your load balancer with a hosted zone, go to Using
Domain Names With Elastic Load Balancing in the Elastic Load
Balancing Developer Guide.public LoadBalancerDescription withCanonicalHostedZoneNameID(String canonicalHostedZoneNameID)
Returns a reference to this object so that method calls can be chained together.
canonicalHostedZoneNameID
- Provides the ID of the Amazon Route 53 hosted zone name that is
associated with the load balancer. For information on how to associate
or disassociate your load balancer with a hosted zone, go to Using
Domain Names With Elastic Load Balancing in the Elastic Load
Balancing Developer Guide.public List<ListenerDescription> getListenerDescriptions()
public void setListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
listenerDescriptions
- LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.public LoadBalancerDescription withListenerDescriptions(ListenerDescription... listenerDescriptions)
Returns a reference to this object so that method calls can be chained together.
listenerDescriptions
- LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.public LoadBalancerDescription withListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
Returns a reference to this object so that method calls can be chained together.
listenerDescriptions
- LoadBalancerPort, InstancePort, Protocol, InstanceProtocol, and
PolicyNames are returned in a list of tuples in the
ListenerDescriptions element.public Policies getPolicies()
public void setPolicies(Policies policies)
policies
- Provides a list of 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
- Provides a list of policies defined for the load balancer.public List<BackendServerDescription> getBackendServerDescriptions()
public void setBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
backendServerDescriptions
- Contains a list of back-end server descriptions.public LoadBalancerDescription withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions)
Returns a reference to this object so that method calls can be chained together.
backendServerDescriptions
- Contains a list of back-end server descriptions.public LoadBalancerDescription withBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Returns a reference to this object so that method calls can be chained together.
backendServerDescriptions
- Contains a list of back-end server descriptions.public List<String> getAvailabilityZones()
public void setAvailabilityZones(Collection<String> availabilityZones)
availabilityZones
- Specifies a list of Availability Zones.public LoadBalancerDescription withAvailabilityZones(String... availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- Specifies a list of Availability Zones.public LoadBalancerDescription withAvailabilityZones(Collection<String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones
- Specifies a list of Availability Zones.public List<String> getSubnets()
public void setSubnets(Collection<String> subnets)
subnets
- Provides a list of VPC subnet IDs for the load balancer.public LoadBalancerDescription withSubnets(String... subnets)
Returns a reference to this object so that method calls can be chained together.
subnets
- Provides a list of VPC subnet IDs 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
- Provides a list of VPC subnet IDs for the load balancer.public String getVPCId()
public void setVPCId(String vPCId)
vPCId
- Provides the ID of the VPC attached to the load balancer.public LoadBalancerDescription withVPCId(String vPCId)
Returns a reference to this object so that method calls can be chained together.
vPCId
- Provides the ID of the VPC attached to the load balancer.public List<Instance> getInstances()
public void setInstances(Collection<Instance> instances)
instances
- Provides a list of EC2 instance IDs for the load balancer.public LoadBalancerDescription withInstances(Instance... instances)
Returns a reference to this object so that method calls can be chained together.
instances
- Provides a list of EC2 instance IDs 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
- Provides a list of EC2 instance IDs for the load balancer.public HealthCheck getHealthCheck()
public void setHealthCheck(HealthCheck healthCheck)
healthCheck
- Specifies information regarding the various health probes 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
- Specifies information regarding the various health probes 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 Amazon EC2 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 Amazon EC2 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 the load balancer is a member of (VPC only).public LoadBalancerDescription withSecurityGroups(String... securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The security groups the load balancer is a member of (VPC only).public LoadBalancerDescription withSecurityGroups(Collection<String> securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The security groups the load balancer is a member of (VPC only).public Date getCreatedTime()
public void setCreatedTime(Date createdTime)
createdTime
- Provides 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
- Provides the date and time the load balancer was created.public String getScheme()
If the Scheme
is
internet-facing
, the load balancer has a publicly
resolvable DNS name that resolves to public IP addresses.
If the
Scheme
is internal
, the load balancer has a
publicly resolvable DNS name that resolves to private IP addresses.
This option is only available for load balancers attached to an Amazon VPC.
If the Scheme
is
internet-facing
, the load balancer has a publicly
resolvable DNS name that resolves to public IP addresses.
If the
Scheme
is internal
, the load balancer has a
publicly resolvable DNS name that resolves to private IP addresses.
This option is only available for load balancers attached to an Amazon VPC.
public void setScheme(String scheme)
If the Scheme
is
internet-facing
, the load balancer has a publicly
resolvable DNS name that resolves to public IP addresses.
If the
Scheme
is internal
, the load balancer has a
publicly resolvable DNS name that resolves to private IP addresses.
This option is only available for load balancers attached to an Amazon VPC.
scheme
- Specifies the type of load balancer. If the Scheme
is
internet-facing
, the load balancer has a publicly
resolvable DNS name that resolves to public IP addresses.
If the
Scheme
is internal
, the load balancer has a
publicly resolvable DNS name that resolves to private IP addresses.
This option is only available for load balancers attached to an Amazon VPC.
public LoadBalancerDescription withScheme(String scheme)
If the Scheme
is
internet-facing
, the load balancer has a publicly
resolvable DNS name that resolves to public IP addresses.
If the
Scheme
is internal
, the load balancer has a
publicly resolvable DNS name that resolves to private IP addresses.
This option is only available for load balancers attached to an Amazon VPC.
Returns a reference to this object so that method calls can be chained together.
scheme
- Specifies the type of load balancer. If the Scheme
is
internet-facing
, the load balancer has a publicly
resolvable DNS name that resolves to public IP addresses.
If the
Scheme
is internal
, the load balancer has a
publicly resolvable DNS name that resolves to private IP addresses.
This option is only available for load balancers attached to an Amazon VPC.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.