public class DescribeLoadBalancersRequest extends AmazonWebServiceRequest implements Serializable
Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.
| Constructor and Description |
|---|
DescribeLoadBalancersRequest()
Default constructor for DescribeLoadBalancersRequest object.
|
DescribeLoadBalancersRequest(List<String> loadBalancerNames)
Constructs a new DescribeLoadBalancersRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getLoadBalancerNames()
The names of the load balancers.
|
String |
getMarker()
The marker for the next set of results.
|
Integer |
getPageSize()
The maximum number of results to return with this call (a number from 1
to 400).
|
int |
hashCode() |
void |
setLoadBalancerNames(Collection<String> loadBalancerNames)
The names of the load balancers.
|
void |
setMarker(String marker)
The marker for the next set of results.
|
void |
setPageSize(Integer pageSize)
The maximum number of results to return with this call (a number from 1
to 400).
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLoadBalancersRequest |
withLoadBalancerNames(Collection<String> loadBalancerNames)
The names of the load balancers.
|
DescribeLoadBalancersRequest |
withLoadBalancerNames(String... loadBalancerNames)
The names of the load balancers.
|
DescribeLoadBalancersRequest |
withMarker(String marker)
The marker for the next set of results.
|
DescribeLoadBalancersRequest |
withPageSize(Integer pageSize)
The maximum number of results to return with this call (a number from 1
to 400).
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DescribeLoadBalancersRequest()
public DescribeLoadBalancersRequest(List<String> loadBalancerNames)
loadBalancerNames - The names of the load balancers.
public List<String> getLoadBalancerNames()
The names of the load balancers.
The names of the load balancers.
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
The names of the load balancers.
loadBalancerNames - The names of the load balancers.
public DescribeLoadBalancersRequest withLoadBalancerNames(String... loadBalancerNames)
The names of the load balancers.
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames - The names of the load balancers.
public DescribeLoadBalancersRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
The names of the load balancers.
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames - The names of the load balancers.
public String getMarker()
The marker for the next set of results. (You received this marker from a previous call.)
The marker for the next set of results. (You received this marker from a previous call.)
public void setMarker(String marker)
The marker for the next set of results. (You received this marker from a previous call.)
marker - The marker for the next set of results. (You received this marker from a previous call.)
public DescribeLoadBalancersRequest withMarker(String marker)
The marker for the next set of results. (You received this marker from a previous call.)
Returns a reference to this object so that method calls can be chained together.
marker - The marker for the next set of results. (You received this marker from a previous call.)
public Integer getPageSize()
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
Constraints:
Range: 1 - 400
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
public void setPageSize(Integer pageSize)
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
Constraints:
Range: 1 - 400
pageSize - The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
public DescribeLoadBalancersRequest withPageSize(Integer pageSize)
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 400
pageSize - The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.