public class DescribeLoadBalancersRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
DescribeLoadBalancersRequest()
Default constructor for a new DescribeLoadBalancersRequest object.
|
DescribeLoadBalancersRequest(List<String> loadBalancerNames)
Constructs a new DescribeLoadBalancersRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getLoadBalancerNames()
A list of load balancer names associated with the account.
|
String |
getMarker()
An optional parameter reserved for future use.
|
int |
hashCode() |
void |
setLoadBalancerNames(Collection<String> loadBalancerNames)
A list of load balancer names associated with the account.
|
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 load balancer names associated with the account.
|
DescribeLoadBalancersRequest |
withLoadBalancerNames(String... loadBalancerNames)
A list of load balancer names associated with the account.
|
DescribeLoadBalancersRequest |
withMarker(String marker)
An optional parameter reserved for future use.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public DescribeLoadBalancersRequest()
public DescribeLoadBalancersRequest(List<String> loadBalancerNames)
loadBalancerNames
- A list of load balancer names associated with
the account.public List<String> getLoadBalancerNames()
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
loadBalancerNames
- A list of load balancer names associated with the account.public DescribeLoadBalancersRequest withLoadBalancerNames(String... loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- A list of load balancer names associated with the account.public DescribeLoadBalancersRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- A list of load balancer names associated with the account.public String getMarker()
public void setMarker(String marker)
marker
- An optional parameter reserved for future use.public DescribeLoadBalancersRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- An optional parameter reserved for future use.public String toString()
toString
in class Object
Object.toString()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.