Class DescribeLoadBalancersRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for DescribeLoadBalancersRequest object.DescribeLoadBalancersRequest
(List<String> loadBalancerNames) Constructs a new DescribeLoadBalancersRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The names of the load balancers.The marker for the next set of results.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
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).toString()
Returns a string representation of this object; useful for testing and debugging.withLoadBalancerNames
(String... loadBalancerNames) The names of the load balancers.withLoadBalancerNames
(Collection<String> loadBalancerNames) The names of the load balancers.withMarker
(String marker) The marker for the next set of results.withPageSize
(Integer pageSize) The maximum number of results to return with this call (a number from 1 to 400).Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
DescribeLoadBalancersRequest
public DescribeLoadBalancersRequest()Default constructor for DescribeLoadBalancersRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
DescribeLoadBalancersRequest
Constructs a new DescribeLoadBalancersRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
loadBalancerNames
- The names of the load balancers.
-
-
Method Details
-
getLoadBalancerNames
The names of the load balancers.
- Returns:
- The names of the load balancers.
-
setLoadBalancerNames
The names of the load balancers.
- Parameters:
loadBalancerNames
- The names of the load balancers.
-
withLoadBalancerNames
The names of the load balancers.
NOTE: This method appends the values to the existing list (if any). Use
setLoadBalancerNames(java.util.Collection)
orwithLoadBalancerNames(java.util.Collection)
if you want to override the existing values.- Parameters:
loadBalancerNames
- The names of the load balancers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLoadBalancerNames
The names of the load balancers.
- Parameters:
loadBalancerNames
- The names of the load balancers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
The marker for the next set of results. (You received this marker from a previous call.)
- Parameters:
marker
- The marker for the next set of results. (You received this marker from a previous call.)
-
getMarker
The marker for the next set of results. (You received this marker from a previous call.)
- Returns:
- The marker for the next set of results. (You received this marker from a previous call.)
-
withMarker
The marker for the next set of results. (You received this marker from a previous call.)
- Parameters:
marker
- The marker for the next set of results. (You received this marker from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPageSize
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
- Parameters:
pageSize
- The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
-
getPageSize
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
- Returns:
- The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
-
withPageSize
The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
- Parameters:
pageSize
- The maximum number of results to return with this call (a number from 1 to 400). The default is 400.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-