com.amazonaws.services.elasticloadbalancing.model
Class LoadBalancerDescription

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.LoadBalancerDescription

public class LoadBalancerDescription
extends java.lang.Object

The LoadBalancerDescription data type.


Constructor Summary
LoadBalancerDescription()
          Default constructor for a new LoadBalancerDescription object.
 
Method Summary
 java.util.List<java.lang.String> getAvailabilityZones()
          Specifies a list of Availability Zones.
 java.util.Date getCreatedTime()
          Provides the date and time the LoadBalancer was created.
 java.lang.String getDNSName()
          Specifies the external DNS name associated with the LoadBalancer.
 HealthCheck getHealthCheck()
          Specifies information regarding the various health probes conducted on the LoadBalancer.
 java.util.List<Instance> getInstances()
          Provides a list of EC2 instance IDs for the LoadBalancer.
 java.util.List<ListenerDescription> getListenerDescriptions()
          LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.
 java.lang.String getLoadBalancerName()
          Specifies the name associated with the LoadBalancer.
 Policies getPolicies()
          Provides a list of policies defined for the LoadBalancer.
 void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
          Specifies a list of Availability Zones.
 void setCreatedTime(java.util.Date createdTime)
          Provides the date and time the LoadBalancer was created.
 void setDNSName(java.lang.String dNSName)
          Specifies the external DNS name associated with the LoadBalancer.
 void setHealthCheck(HealthCheck healthCheck)
          Specifies information regarding the various health probes conducted on the LoadBalancer.
 void setInstances(java.util.Collection<Instance> instances)
          Provides a list of EC2 instance IDs for the LoadBalancer.
 void setListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
          LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.
 void setLoadBalancerName(java.lang.String loadBalancerName)
          Specifies the name associated with the LoadBalancer.
 void setPolicies(Policies policies)
          Provides a list of policies defined for the LoadBalancer.
 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)
          Specifies a list of Availability Zones.
 LoadBalancerDescription withAvailabilityZones(java.lang.String... availabilityZones)
          Specifies a list of Availability Zones.
 LoadBalancerDescription withCreatedTime(java.util.Date createdTime)
          Provides the date and time the LoadBalancer was created.
 LoadBalancerDescription withDNSName(java.lang.String dNSName)
          Specifies the external DNS name associated with the LoadBalancer.
 LoadBalancerDescription withHealthCheck(HealthCheck healthCheck)
          Specifies information regarding the various health probes conducted on the LoadBalancer.
 LoadBalancerDescription withInstances(java.util.Collection<Instance> instances)
          Provides a list of EC2 instance IDs for the LoadBalancer.
 LoadBalancerDescription withInstances(Instance... instances)
          Provides a list of EC2 instance IDs for the LoadBalancer.
 LoadBalancerDescription withListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
          LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.
 LoadBalancerDescription withListenerDescriptions(ListenerDescription... listenerDescriptions)
          LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.
 LoadBalancerDescription withLoadBalancerName(java.lang.String loadBalancerName)
          Specifies the name associated with the LoadBalancer.
 LoadBalancerDescription withPolicies(Policies policies)
          Provides a list of policies defined for the LoadBalancer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadBalancerDescription

public LoadBalancerDescription()
Default constructor for a new LoadBalancerDescription object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getLoadBalancerName

public java.lang.String getLoadBalancerName()
Specifies the name associated with the LoadBalancer.

Returns:
Specifies the name associated with the LoadBalancer.

setLoadBalancerName

public void setLoadBalancerName(java.lang.String loadBalancerName)
Specifies the name associated with the LoadBalancer.

Parameters:
loadBalancerName - Specifies the name associated with the LoadBalancer.

withLoadBalancerName

public LoadBalancerDescription withLoadBalancerName(java.lang.String loadBalancerName)
Specifies the name associated with the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
loadBalancerName - Specifies the name associated with the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getDNSName

public java.lang.String getDNSName()
Specifies the external DNS name associated with the LoadBalancer.

Returns:
Specifies the external DNS name associated with the LoadBalancer.

setDNSName

public void setDNSName(java.lang.String dNSName)
Specifies the external DNS name associated with the LoadBalancer.

Parameters:
dNSName - Specifies the external DNS name associated with the LoadBalancer.

withDNSName

public LoadBalancerDescription withDNSName(java.lang.String dNSName)
Specifies the external DNS name associated with the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dNSName - Specifies the external DNS name associated with the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getListenerDescriptions

public java.util.List<ListenerDescription> getListenerDescriptions()
LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

Returns:
LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

setListenerDescriptions

public void setListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

Parameters:
listenerDescriptions - LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

withListenerDescriptions

public LoadBalancerDescription withListenerDescriptions(ListenerDescription... listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

Returns a reference to this object so that method calls can be chained together.

Parameters:
listenerDescriptions - LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.
Returns:
A reference to this updated object so that method calls can be chained together.

withListenerDescriptions

public LoadBalancerDescription withListenerDescriptions(java.util.Collection<ListenerDescription> listenerDescriptions)
LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.

Returns a reference to this object so that method calls can be chained together.

Parameters:
listenerDescriptions - LoadBalancerPort, InstancePort, Protocol, and PolicyNames are returned in a list of tuples in the ListenerDescriptions element.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicies

public Policies getPolicies()
Provides a list of policies defined for the LoadBalancer.

Returns:
Provides a list of policies defined for the LoadBalancer.

setPolicies

public void setPolicies(Policies policies)
Provides a list of policies defined for the LoadBalancer.

Parameters:
policies - Provides a list of policies defined for the LoadBalancer.

withPolicies

public LoadBalancerDescription withPolicies(Policies policies)
Provides a list of policies defined for the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
policies - Provides a list of policies defined for the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZones

public java.util.List<java.lang.String> getAvailabilityZones()
Specifies a list of Availability Zones.

Returns:
Specifies a list of Availability Zones.

setAvailabilityZones

public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Specifies a list of Availability Zones.

Parameters:
availabilityZones - Specifies a list of Availability Zones.

withAvailabilityZones

public LoadBalancerDescription withAvailabilityZones(java.lang.String... availabilityZones)
Specifies a list of Availability Zones.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZones - Specifies a list of Availability Zones.
Returns:
A reference to this updated object so that method calls can be chained together.

withAvailabilityZones

public LoadBalancerDescription withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Specifies a list of Availability Zones.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZones - Specifies a list of Availability Zones.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstances

public java.util.List<Instance> getInstances()
Provides a list of EC2 instance IDs for the LoadBalancer.

Returns:
Provides a list of EC2 instance IDs for the LoadBalancer.

setInstances

public void setInstances(java.util.Collection<Instance> instances)
Provides a list of EC2 instance IDs for the LoadBalancer.

Parameters:
instances - Provides a list of EC2 instance IDs for the LoadBalancer.

withInstances

public LoadBalancerDescription withInstances(Instance... instances)
Provides a list of EC2 instance IDs for the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instances - Provides a list of EC2 instance IDs for the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstances

public LoadBalancerDescription withInstances(java.util.Collection<Instance> instances)
Provides a list of EC2 instance IDs for the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instances - Provides a list of EC2 instance IDs for the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getHealthCheck

public HealthCheck getHealthCheck()
Specifies information regarding the various health probes conducted on the LoadBalancer.

Returns:
Specifies information regarding the various health probes conducted on the LoadBalancer.

setHealthCheck

public void setHealthCheck(HealthCheck healthCheck)
Specifies information regarding the various health probes conducted on the LoadBalancer.

Parameters:
healthCheck - Specifies information regarding the various health probes conducted on the LoadBalancer.

withHealthCheck

public LoadBalancerDescription withHealthCheck(HealthCheck healthCheck)
Specifies information regarding the various health probes conducted on the LoadBalancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
healthCheck - Specifies information regarding the various health probes conducted on the LoadBalancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreatedTime

public java.util.Date getCreatedTime()
Provides the date and time the LoadBalancer was created.

Returns:
Provides the date and time the LoadBalancer was created.

setCreatedTime

public void setCreatedTime(java.util.Date createdTime)
Provides the date and time the LoadBalancer was created.

Parameters:
createdTime - Provides the date and time the LoadBalancer was created.

withCreatedTime

public LoadBalancerDescription withCreatedTime(java.util.Date createdTime)
Provides the date and time the LoadBalancer was created.

Returns a reference to this object so that method calls can be chained together.

Parameters:
createdTime - Provides the date and time the LoadBalancer was created.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.