public class DescribeLoadBalancersRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
loadBalancerNames
The names of the load balancers.
|
private java.lang.String |
marker
The marker for the next set of results.
|
private java.lang.Integer |
pageSize
The maximum number of results to return with this call (a number from 1
to 400).
|
NOOP
Constructor and Description |
---|
DescribeLoadBalancersRequest()
Default constructor for DescribeLoadBalancersRequest object.
|
DescribeLoadBalancersRequest(java.util.List<java.lang.String> loadBalancerNames)
Constructs a new DescribeLoadBalancersRequest object.
|
Modifier and Type | Method and Description |
---|---|
DescribeLoadBalancersRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getLoadBalancerNames()
The names of the load balancers.
|
java.lang.String |
getMarker()
The marker for the next set of results.
|
java.lang.Integer |
getPageSize()
The maximum number of results to return with this call (a number from 1
to 400).
|
int |
hashCode() |
void |
setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
The names of the load balancers.
|
void |
setMarker(java.lang.String marker)
The marker for the next set of results.
|
void |
setPageSize(java.lang.Integer pageSize)
The maximum number of results to return with this call (a number from 1
to 400).
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLoadBalancersRequest |
withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
The names of the load balancers.
|
DescribeLoadBalancersRequest |
withLoadBalancerNames(java.lang.String... loadBalancerNames)
The names of the load balancers.
|
DescribeLoadBalancersRequest |
withMarker(java.lang.String marker)
The marker for the next set of results.
|
DescribeLoadBalancersRequest |
withPageSize(java.lang.Integer pageSize)
The maximum number of results to return with this call (a number from 1
to 400).
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private SdkInternalList<java.lang.String> loadBalancerNames
The names of the load balancers.
private java.lang.String marker
The marker for the next set of results. (You received this marker from a previous call.)
private java.lang.Integer pageSize
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
public DescribeLoadBalancersRequest()
public DescribeLoadBalancersRequest(java.util.List<java.lang.String> loadBalancerNames)
loadBalancerNames
- The names of the load balancers.public java.util.List<java.lang.String> getLoadBalancerNames()
The names of the load balancers.
public void setLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
The names of the load balancers.
loadBalancerNames
- The names of the load balancers.public DescribeLoadBalancersRequest withLoadBalancerNames(java.lang.String... loadBalancerNames)
The names of the load balancers.
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.
loadBalancerNames
- The names of the load balancers.public DescribeLoadBalancersRequest withLoadBalancerNames(java.util.Collection<java.lang.String> loadBalancerNames)
The names of the load balancers.
loadBalancerNames
- The names of the load balancers.public void setMarker(java.lang.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 java.lang.String getMarker()
The marker for the next set of results. (You received this marker from a previous call.)
public DescribeLoadBalancersRequest withMarker(java.lang.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 void setPageSize(java.lang.Integer pageSize)
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
pageSize
- The maximum number of results to return with this call (a number
from 1 to 400). The default is 400.public java.lang.Integer getPageSize()
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
public DescribeLoadBalancersRequest withPageSize(java.lang.Integer pageSize)
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
pageSize
- The maximum number of results to return with this call (a number
from 1 to 400). The default is 400.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeLoadBalancersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()