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.
NOOP
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 used for pagination of results from this call.
|
Integer |
getPageSize()
The number of results returned in each page.
|
int |
hashCode() |
void |
setLoadBalancerNames(Collection<String> loadBalancerNames)
A list of load balancer names associated with the account.
|
void |
setMarker(String marker)
An optional parameter used for pagination of results from this call.
|
void |
setPageSize(Integer pageSize)
The number of results returned in each page.
|
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 used for pagination of results from this call.
|
DescribeLoadBalancersRequest |
withPageSize(Integer pageSize)
The number of results returned in each page.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, 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 used for pagination of results from this call.
If specified, the response includes only records beyond the marker.public DescribeLoadBalancersRequest withMarker(String marker)
Returns a reference to this object so that method calls can be chained together.
marker
- An optional parameter used for pagination of results from this call.
If specified, the response includes only records beyond the marker.public Integer getPageSize()
Constraints:
Range: 1 - 400
public void setPageSize(Integer pageSize)
Constraints:
Range: 1 - 400
pageSize
- The number of results returned in each page. The default is 400. You
cannot specify a page size greater than 400 or less than 1.public DescribeLoadBalancersRequest withPageSize(Integer pageSize)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 400
pageSize
- The number of results returned in each page. The default is 400. You
cannot specify a page size greater than 400 or less than 1.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.