public class DescribeLoadBalancersRequest extends AmazonWebServiceRequest implements Serializable
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.
| 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 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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DescribeLoadBalancersRequest()
public DescribeLoadBalancersRequest(List<String> loadBalancerNames)
loadBalancerNames - A list of names associated with the
LoadBalancers at creation time.public List<String> getLoadBalancerNames()
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
loadBalancerNames - A list of names associated with the LoadBalancers at creation time.public DescribeLoadBalancersRequest withLoadBalancerNames(String... loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames - A list of names associated with the LoadBalancers at creation time.public DescribeLoadBalancersRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames - A list of names associated with the LoadBalancers at creation time.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 ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.