public class DescribeLoadBalancersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeLoadBalancers operation
.
Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.
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 |
---|---|
DescribeLoadBalancersRequest |
clone()
Creates a shallow clone of this request.
|
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).
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeLoadBalancersRequest()
public DescribeLoadBalancersRequest(List<String> loadBalancerNames)
loadBalancerNames
- The names of the load balancers.public List<String> getLoadBalancerNames()
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
loadBalancerNames
- The names of the load balancers.public DescribeLoadBalancersRequest withLoadBalancerNames(String... loadBalancerNames)
NOTE: This method appends the values to the existing list (if
any). Use setLoadBalancerNames(java.util.Collection)
or
withLoadBalancerNames(java.util.Collection)
if you want to
override the existing values.
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)
Returns a reference to this object so that method calls can be chained together.
loadBalancerNames
- The names of the load balancers.public String getMarker()
public void setMarker(String marker)
marker
- The marker for the next set of results. (You received this marker from
a previous call.)public DescribeLoadBalancersRequest withMarker(String marker)
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()
Constraints:
Range: 1 - 400
public void setPageSize(Integer pageSize)
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)
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 Object
Object.toString()
public DescribeLoadBalancersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.