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(List<String> loadBalancerNames)
          Constructs a new DescribeLoadBalancersRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getLoadBalancerNames()
          A list of names associated with the LoadBalancers at creation time.
 String getMarker()
          An optional parameter reserved for future use.
 int hashCode()
           
 void setLoadBalancerNames(Collection<String> loadBalancerNames)
          A list of names associated with the LoadBalancers at creation time.
 void setMarker(String marker)
          An optional parameter reserved for future use.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeLoadBalancersRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
          A list of names associated with the LoadBalancers at creation time.
 DescribeLoadBalancersRequest withLoadBalancerNames(String... loadBalancerNames)
          A list of names associated with the LoadBalancers at creation time.
 DescribeLoadBalancersRequest withMarker(String marker)
          An optional parameter reserved for future use.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, 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(List<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 List<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(Collection<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(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(Collection<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.

getMarker

public String getMarker()
An optional parameter reserved for future use.

Returns:
An optional parameter reserved for future use.

setMarker

public void setMarker(String marker)
An optional parameter reserved for future use.

Parameters:
marker - An optional parameter reserved for future use.

withMarker

public DescribeLoadBalancersRequest withMarker(String marker)
An optional parameter reserved for future use.

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

Parameters:
marker - An optional parameter reserved for future use.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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