com.amazonaws.services.elasticloadbalancing.model
Class DescribeLoadBalancersRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.DescribeLoadBalancersRequest

public class DescribeLoadBalancersRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeLoadBalancers operation.

Returns detailed configuration information for the specified LoadBalancers. If no LoadBalancers are specified, the operation returns configuration information for all LoadBalancers created by the caller.

NOTE: The client must have created the specified input LoadBalancers in order to retrieve this information; the client must provide the same account credentials as those that were used to create the LoadBalancer.

See Also:
AmazonElasticLoadBalancing.describeLoadBalancers(DescribeLoadBalancersRequest)

Constructor Summary
DescribeLoadBalancersRequest()
          Default constructor for a new DescribeLoadBalancersRequest object.
DescribeLoadBalancersRequest(java.util.List<java.lang.String> loadBalancerNames)
          Constructs a new DescribeLoadBalancersRequest object.
 
Method Summary
 java.util.List<java.lang.String> getLoadBalancerNames()
          A list of names associated with the LoadBalancers at creation time.
 void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
          A list of names associated with the LoadBalancers at creation time.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeLoadBalancersRequest withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
          A list of names associated with the LoadBalancers at creation time.
 DescribeLoadBalancersRequest withLoadBalancerNames(java.lang.String... loadBalancerNames)
          A list of names associated with the LoadBalancers at creation time.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeLoadBalancersRequest

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


DescribeLoadBalancersRequest

public DescribeLoadBalancersRequest(java.util.List<java.lang.String> loadBalancerNames)
Constructs a new DescribeLoadBalancersRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
loadBalancerNames - A list of names associated with the LoadBalancers at creation time.
Method Detail

getLoadBalancerNames

public java.util.List<java.lang.String> getLoadBalancerNames()
A list of names associated with the LoadBalancers at creation time.

Returns:
A list of names associated with the LoadBalancers at creation time.

setLoadBalancerNames

public void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
A list of names associated with the LoadBalancers at creation time.

Parameters:
loadBalancerNames - A list of names associated with the LoadBalancers at creation time.

withLoadBalancerNames

public DescribeLoadBalancersRequest withLoadBalancerNames(java.lang.String... loadBalancerNames)
A list of names associated with the LoadBalancers at creation time.

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

Parameters:
loadBalancerNames - A list of names associated with the LoadBalancers at creation time.
Returns:
A reference to this updated object so that method calls can be chained together.

withLoadBalancerNames

public DescribeLoadBalancersRequest withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
A list of names associated with the LoadBalancers at creation time.

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

Parameters:
loadBalancerNames - A list of names associated with the LoadBalancers at creation time.
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.