@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLoadBalancersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for DescribeLoadBalancers.
NOOP| Constructor and Description | 
|---|
| DescribeLoadBalancersRequest()Default constructor for DescribeLoadBalancersRequest object. | 
| DescribeLoadBalancersRequest(List<String> loadBalancerNames)Constructs a new DescribeLoadBalancersRequest object. | 
| Modifier and Type | Method and Description | 
|---|---|
| DescribeLoadBalancersRequest | clone() | 
| 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. | 
| 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). | 
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DescribeLoadBalancersRequest()
public DescribeLoadBalancersRequest(List<String> loadBalancerNames)
loadBalancerNames - The names of the load balancers.public List<String> getLoadBalancerNames()
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.
 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(Collection<String> loadBalancerNames)
The names of the load balancers.
loadBalancerNames - The names of the load balancers.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 String getMarker()
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.)
marker - The marker for the next set of results. (You received this marker from a previous call.)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.
pageSize - The maximum number of results to return with this call (a number from 1 to 400). The default is 400.public 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(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 String toString()
toString in class ObjectObject.toString()public DescribeLoadBalancersRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.