public class LoadBalancerDescription extends Object implements Serializable, Cloneable
Information about a load balancer.
Constructor and Description |
---|
LoadBalancerDescription() |
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 void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public LoadBalancerDescription withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public void setDNSName(String dNSName)
The external DNS name of the load balancer.
dNSName
- The external DNS name of the load balancer.public String getDNSName()
The external DNS name of the load balancer.
public LoadBalancerDescription withDNSName(String dNSName)
The external DNS name of the load balancer.
dNSName
- The external DNS name of the load balancer.public void setCanonicalHostedZoneName(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 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.
For more information, see Using Domain Names With Elastic Load Balancing in the Elastic Load Balancing Developer Guide.
public LoadBalancerDescription withCanonicalHostedZoneName(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 void setCanonicalHostedZoneNameID(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 String getCanonicalHostedZoneNameID()
The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
public LoadBalancerDescription withCanonicalHostedZoneNameID(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 List<ListenerDescription> getListenerDescriptions()
The listeners for the load balancer.
public void setListenerDescriptions(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.
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.
listenerDescriptions
- The listeners for the load balancer.public LoadBalancerDescription withListenerDescriptions(Collection<ListenerDescription> listenerDescriptions)
The listeners for the load balancer.
listenerDescriptions
- The listeners 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 Policies getPolicies()
The policies defined for the load balancer.
public LoadBalancerDescription withPolicies(Policies policies)
The policies defined for the load balancer.
policies
- The policies defined for the load balancer.public List<BackendServerDescription> getBackendServerDescriptions()
Information about the back-end servers.
public void setBackendServerDescriptions(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.
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.
backendServerDescriptions
- Information about the back-end servers.public LoadBalancerDescription withBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions)
Information about the back-end servers.
backendServerDescriptions
- Information about the back-end servers.public List<String> getAvailabilityZones()
The Availability Zones for the load balancer.
public void setAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.public LoadBalancerDescription withAvailabilityZones(String... availabilityZones)
The Availability Zones for the load balancer.
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.
availabilityZones
- The Availability Zones for the load balancer.public LoadBalancerDescription withAvailabilityZones(Collection<String> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.public List<String> getSubnets()
The IDs of the subnets for the load balancer.
public void setSubnets(Collection<String> subnets)
The IDs of the subnets for the load balancer.
subnets
- The IDs of the subnets for the load balancer.public LoadBalancerDescription withSubnets(String... subnets)
The IDs of the subnets for the load balancer.
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.
subnets
- The IDs of the subnets for the load balancer.public LoadBalancerDescription withSubnets(Collection<String> subnets)
The IDs of the subnets for the load balancer.
subnets
- The IDs of the subnets for the load balancer.public void setVPCId(String vPCId)
The ID of the VPC for the load balancer.
vPCId
- The ID of the VPC for the load balancer.public String getVPCId()
The ID of the VPC for the load balancer.
public LoadBalancerDescription withVPCId(String vPCId)
The ID of the VPC for the load balancer.
vPCId
- The ID of the VPC for the load balancer.public List<Instance> getInstances()
The IDs of the instances for the load balancer.
public void setInstances(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.
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.
instances
- The IDs of the instances for the load balancer.public LoadBalancerDescription withInstances(Collection<Instance> instances)
The IDs of the instances for the load balancer.
instances
- The IDs of the instances for 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 HealthCheck getHealthCheck()
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.
healthCheck
- Information about the health checks conducted on the load
balancer.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 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.
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.
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()
The security groups for the load balancer. Valid only for load balancers in a VPC.
public void setSecurityGroups(Collection<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(String... securityGroups)
The security groups for the load balancer. Valid only for load balancers in a VPC.
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.
securityGroups
- The security groups for the load balancer. Valid only for load
balancers in a VPC.public LoadBalancerDescription withSecurityGroups(Collection<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 void setCreatedTime(Date createdTime)
The date and time the load balancer was created.
createdTime
- The date and time the load balancer was created.public Date getCreatedTime()
The date and time the load balancer was created.
public LoadBalancerDescription withCreatedTime(Date createdTime)
The date and time the load balancer was created.
createdTime
- The date and time the load balancer was created.public void setScheme(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 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.
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)
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 String toString()
toString
in class Object
Object.toString()
public LoadBalancerDescription clone()
Copyright © 2016. All rights reserved.