com.amazonaws.services.elasticloadbalancing.model
Class DescribeLoadBalancersRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticloadbalancing.model.DescribeLoadBalancersRequest
All Implemented Interfaces:
java.io.Serializable

public class DescribeLoadBalancersRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the DescribeLoadBalancers operation.

Returns detailed configuration information for all the load balancers created for the account. If you specify load balancer names, the action returns configuration information of the specified load balancers.

NOTE: In order to retrieve this information, you must provide the same account credentials that was used to create the load balancer.

See Also:
AmazonElasticLoadBalancing.describeLoadBalancers(DescribeLoadBalancersRequest), Serialized Form

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
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.String> getLoadBalancerNames()
          A list of load balancer names associated with the account.
 java.lang.String getMarker()
          An optional parameter reserved for future use.
 int hashCode()
           
 void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
          A list of load balancer names associated with the account.
 void setMarker(java.lang.String marker)
          An optional parameter reserved for future use.
 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 load balancer names associated with the account.
 DescribeLoadBalancersRequest withLoadBalancerNames(java.lang.String... loadBalancerNames)
          A list of load balancer names associated with the account.
 DescribeLoadBalancersRequest withMarker(java.lang.String marker)
          An optional parameter reserved for future use.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
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(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 load balancer names associated with the account.
Method Detail

getLoadBalancerNames

public java.util.List<java.lang.String> getLoadBalancerNames()
A list of load balancer names associated with the account.

Returns:
A list of load balancer names associated with the account.

setLoadBalancerNames

public void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
A list of load balancer names associated with the account.

Parameters:
loadBalancerNames - A list of load balancer names associated with the account.

withLoadBalancerNames

public DescribeLoadBalancersRequest withLoadBalancerNames(java.lang.String... loadBalancerNames)
A list of load balancer names associated with the account.

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

Parameters:
loadBalancerNames - A list of load balancer names associated with the account.
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 load balancer names associated with the account.

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

Parameters:
loadBalancerNames - A list of load balancer names associated with the account.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

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

Returns:
An optional parameter reserved for future use.

setMarker

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

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

withMarker

public DescribeLoadBalancersRequest withMarker(java.lang.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 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()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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