public class LoadBalancerDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about a load balancer.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
availabilityZones
The Availability Zones for the load balancer.
|
private SdkInternalList<BackendServerDescription> |
backendServerDescriptions
Information about the back-end servers.
|
private java.lang.String |
canonicalHostedZoneName
The Amazon Route 53 hosted zone associated with the load balancer.
|
private java.lang.String |
canonicalHostedZoneNameID
The ID of the Amazon Route 53 hosted zone name associated with the load
balancer.
|
private java.util.Date |
createdTime
The date and time the load balancer was created.
|
private java.lang.String |
dNSName
The external DNS name of the load balancer.
|
private HealthCheck |
healthCheck
Information about the health checks conducted on the load balancer.
|
private SdkInternalList<Instance> |
instances
The IDs of the instances for the load balancer.
|
private SdkInternalList<ListenerDescription> |
listenerDescriptions
The listeners for the load balancer.
|
private java.lang.String |
loadBalancerName
The name of the load balancer.
|
private Policies |
policies
The policies defined for the load balancer.
|
private java.lang.String |
scheme
The type of load balancer.
|
private SdkInternalList<java.lang.String> |
securityGroups
The security groups for the load balancer.
|
private SourceSecurityGroup |
sourceSecurityGroup
The security group that you can use as part of your inbound rules for
your load balancer's back-end application instances.
|
private SdkInternalList<java.lang.String> |
subnets
The IDs of the subnets for the load balancer.
|
private java.lang.String |
vPCId
The ID of the VPC for the load balancer.
|
Constructor and Description |
---|
LoadBalancerDescription() |
Modifier and Type | Method and Description |
---|---|
LoadBalancerDescription |
clone() |
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.
|
private java.lang.String loadBalancerName
The name of the load balancer.
private java.lang.String dNSName
The external DNS name of the load balancer.
private 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.
private java.lang.String canonicalHostedZoneNameID
The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
private SdkInternalList<ListenerDescription> listenerDescriptions
The listeners for the load balancer.
private Policies policies
The policies defined for the load balancer.
private SdkInternalList<BackendServerDescription> backendServerDescriptions
Information about the back-end servers.
private SdkInternalList<java.lang.String> availabilityZones
The Availability Zones for the load balancer.
private SdkInternalList<java.lang.String> subnets
The IDs of the subnets for the load balancer.
private java.lang.String vPCId
The ID of the VPC for the load balancer.
private SdkInternalList<Instance> instances
The IDs of the instances for the load balancer.
private HealthCheck healthCheck
Information about the health checks conducted on the load balancer.
private 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.
private SdkInternalList<java.lang.String> securityGroups
The security groups for the load balancer. Valid only for load balancers in a VPC.
private java.util.Date createdTime
The date and time the load balancer was created.
private 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.
public void setLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public java.lang.String getLoadBalancerName()
The name of the load balancer.
public LoadBalancerDescription withLoadBalancerName(java.lang.String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The 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 java.lang.String getDNSName()
The external DNS name of the load balancer.
public LoadBalancerDescription withDNSName(java.lang.String dNSName)
The external DNS name of the load balancer.
dNSName
- The external DNS name of the load balancer.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 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.
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.
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(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 java.lang.String getCanonicalHostedZoneNameID()
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.
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.
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.
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(java.util.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 java.util.List<BackendServerDescription> getBackendServerDescriptions()
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.
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(java.util.Collection<BackendServerDescription> backendServerDescriptions)
Information about the back-end servers.
backendServerDescriptions
- Information about the back-end servers.public java.util.List<java.lang.String> getAvailabilityZones()
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.
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(java.util.Collection<java.lang.String> availabilityZones)
The Availability Zones for the load balancer.
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.
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.
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(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 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 java.lang.String getVPCId()
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.
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.
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.
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(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 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 java.util.List<java.lang.String> getSecurityGroups()
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.
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(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 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 java.util.Date getCreatedTime()
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.
createdTime
- The date and time the load balancer was created.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 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.
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.
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 boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public LoadBalancerDescription clone()
clone
in class java.lang.Object