Class LoadBalancerDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a load balancer.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Availability Zones for the load balancer.Information about the back-end servers.The Amazon Route 53 hosted zone associated with the load balancer.The ID of the Amazon Route 53 hosted zone name associated with the load balancer.The date and time the load balancer was created.The external DNS name of the load balancer.Information about the health checks conducted on the load balancer.The IDs of the instances for the load balancer.The listeners for the load balancer.The name of the load balancer.The policies defined for the load balancer.The type of load balancer.The security groups for the load balancer.The security group that you can use as part of your inbound rules for your load balancer's back-end application instances.The IDs of the subnets for the load balancer.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
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
The ID of the VPC for the load balancer.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZones
(String... availabilityZones) The Availability Zones for the load balancer.withAvailabilityZones
(Collection<String> availabilityZones) The Availability Zones for the load balancer.withBackendServerDescriptions
(BackendServerDescription... backendServerDescriptions) Information about the back-end servers.withBackendServerDescriptions
(Collection<BackendServerDescription> backendServerDescriptions) Information about the back-end servers.withCanonicalHostedZoneName
(String canonicalHostedZoneName) The Amazon Route 53 hosted zone associated with the load balancer.withCanonicalHostedZoneNameID
(String canonicalHostedZoneNameID) The ID of the Amazon Route 53 hosted zone name associated with the load balancer.withCreatedTime
(Date createdTime) The date and time the load balancer was created.withDNSName
(String dNSName) The external DNS name of the load balancer.withHealthCheck
(HealthCheck healthCheck) Information about the health checks conducted on the load balancer.withInstances
(Instance... instances) The IDs of the instances for the load balancer.withInstances
(Collection<Instance> instances) The IDs of the instances for the load balancer.withListenerDescriptions
(ListenerDescription... listenerDescriptions) The listeners for the load balancer.withListenerDescriptions
(Collection<ListenerDescription> listenerDescriptions) The listeners for the load balancer.withLoadBalancerName
(String loadBalancerName) The name of the load balancer.withPolicies
(Policies policies) The policies defined for the load balancer.withScheme
(String scheme) The type of load balancer.withSecurityGroups
(String... securityGroups) The security groups for the load balancer.withSecurityGroups
(Collection<String> securityGroups) The security groups for the load balancer.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.withSubnets
(String... subnets) The IDs of the subnets for the load balancer.withSubnets
(Collection<String> subnets) The IDs of the subnets for the load balancer.The ID of the VPC for the load balancer.
-
Constructor Details
-
LoadBalancerDescription
public LoadBalancerDescription()
-
-
Method Details
-
setLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.
-
getLoadBalancerName
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
withLoadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDNSName
The external DNS name of the load balancer.
- Parameters:
dNSName
- The external DNS name of the load balancer.
-
getDNSName
The external DNS name of the load balancer.
- Returns:
- The external DNS name of the load balancer.
-
withDNSName
The external DNS name of the load balancer.
- Parameters:
dNSName
- The external DNS name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCanonicalHostedZoneName
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withCanonicalHostedZoneName
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
setCanonicalHostedZoneNameID
The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
- Parameters:
canonicalHostedZoneNameID
- The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
-
getCanonicalHostedZoneNameID
The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
- Returns:
- The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
-
withCanonicalHostedZoneNameID
The ID of the Amazon Route 53 hosted zone name associated with the load balancer.
- Parameters:
canonicalHostedZoneNameID
- The ID of the Amazon Route 53 hosted zone name associated with the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getListenerDescriptions
The listeners for the load balancer.
- Returns:
- The listeners for the load balancer.
-
setListenerDescriptions
The listeners for the load balancer.
- Parameters:
listenerDescriptions
- The listeners for the load balancer.
-
withListenerDescriptions
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)
orwithListenerDescriptions(java.util.Collection)
if you want to override the existing values.- Parameters:
listenerDescriptions
- The listeners for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withListenerDescriptions
public LoadBalancerDescription withListenerDescriptions(Collection<ListenerDescription> listenerDescriptions) The listeners for the load balancer.
- Parameters:
listenerDescriptions
- The listeners for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicies
The policies defined for the load balancer.
- Parameters:
policies
- The policies defined for the load balancer.
-
getPolicies
The policies defined for the load balancer.
- Returns:
- The policies defined for the load balancer.
-
withPolicies
The policies defined for the load balancer.
- Parameters:
policies
- The policies defined for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getBackendServerDescriptions
Information about the back-end servers.
- Returns:
- Information about the back-end servers.
-
setBackendServerDescriptions
public void setBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions) Information about the back-end servers.
- Parameters:
backendServerDescriptions
- Information about the back-end servers.
-
withBackendServerDescriptions
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)
orwithBackendServerDescriptions(java.util.Collection)
if you want to override the existing values.- Parameters:
backendServerDescriptions
- Information about the back-end servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withBackendServerDescriptions
public LoadBalancerDescription withBackendServerDescriptions(Collection<BackendServerDescription> backendServerDescriptions) Information about the back-end servers.
- Parameters:
backendServerDescriptions
- Information about the back-end servers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAvailabilityZones
The Availability Zones for the load balancer.
- Returns:
- The Availability Zones for the load balancer.
-
setAvailabilityZones
The Availability Zones for the load balancer.
- Parameters:
availabilityZones
- The Availability Zones for the load balancer.
-
withAvailabilityZones
The Availability Zones for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
orwithAvailabilityZones(java.util.Collection)
if you want to override the existing values.- Parameters:
availabilityZones
- The Availability Zones for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAvailabilityZones
The Availability Zones for the load balancer.
- Parameters:
availabilityZones
- The Availability Zones for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnets
The IDs of the subnets for the load balancer.
- Returns:
- The IDs of the subnets for the load balancer.
-
setSubnets
The IDs of the subnets for the load balancer.
- Parameters:
subnets
- The IDs of the subnets for the load balancer.
-
withSubnets
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)
orwithSubnets(java.util.Collection)
if you want to override the existing values.- Parameters:
subnets
- The IDs of the subnets for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnets
The IDs of the subnets for the load balancer.
- Parameters:
subnets
- The IDs of the subnets for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVPCId
The ID of the VPC for the load balancer.
- Parameters:
vPCId
- The ID of the VPC for the load balancer.
-
getVPCId
The ID of the VPC for the load balancer.
- Returns:
- The ID of the VPC for the load balancer.
-
withVPCId
The ID of the VPC for the load balancer.
- Parameters:
vPCId
- The ID of the VPC for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInstances
The IDs of the instances for the load balancer.
- Returns:
- The IDs of the instances for the load balancer.
-
setInstances
The IDs of the instances for the load balancer.
- Parameters:
instances
- The IDs of the instances for the load balancer.
-
withInstances
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)
orwithInstances(java.util.Collection)
if you want to override the existing values.- Parameters:
instances
- The IDs of the instances for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstances
The IDs of the instances for the load balancer.
- Parameters:
instances
- The IDs of the instances for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHealthCheck
Information about the health checks conducted on the load balancer.
- Parameters:
healthCheck
- Information about the health checks conducted on the load balancer.
-
getHealthCheck
Information about the health checks conducted on the load balancer.
- Returns:
- Information about the health checks conducted on the load balancer.
-
withHealthCheck
Information about the health checks conducted on the load balancer.
- Parameters:
healthCheck
- Information about the health checks conducted on the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSourceSecurityGroup
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withSourceSecurityGroup
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
getSecurityGroups
The security groups for the load balancer. Valid only for load balancers in a VPC.
- Returns:
- The security groups for the load balancer. Valid only for load balancers in a VPC.
-
setSecurityGroups
The security groups for the load balancer. Valid only for load balancers in a VPC.
- Parameters:
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.
-
withSecurityGroups
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)
orwithSecurityGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSecurityGroups
The security groups for the load balancer. Valid only for load balancers in a VPC.
- Parameters:
securityGroups
- The security groups for the load balancer. Valid only for load balancers in a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedTime
The date and time the load balancer was created.
- Parameters:
createdTime
- The date and time the load balancer was created.
-
getCreatedTime
The date and time the load balancer was created.
- Returns:
- The date and time the load balancer was created.
-
withCreatedTime
The date and time the load balancer was created.
- Parameters:
createdTime
- The date and time the load balancer was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setScheme
The type of load balancer. Valid only for load balancers in a VPC.
If
Scheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address.If
Scheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.- Parameters:
scheme
- The type of load balancer. Valid only for load balancers in a VPC.If
Scheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address.If
Scheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.
-
getScheme
The type of load balancer. Valid only for load balancers in a VPC.
If
Scheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address.If
Scheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.- Returns:
- The type of load balancer. Valid only for load balancers in a
VPC.
If
Scheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address.If
Scheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.
-
withScheme
The type of load balancer. Valid only for load balancers in a VPC.
If
Scheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address.If
Scheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.- Parameters:
scheme
- The type of load balancer. Valid only for load balancers in a VPC.If
Scheme
isinternet-facing
, the load balancer has a public DNS name that resolves to a public IP address.If
Scheme
isinternal
, the load balancer has a public DNS name that resolves to a private IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-