Class DescribeLoadBalancersRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticloadbalancing.model.DescribeLoadBalancersRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeLoadBalancersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeLoadBalancersRequest()Default constructor for DescribeLoadBalancersRequest object.DescribeLoadBalancersRequest(List<String> loadBalancerNames)Constructs a new DescribeLoadBalancersRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeLoadBalancersRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getLoadBalancerNames()The names of the load balancers.StringgetMarker()The marker for the next set of results.IntegergetPageSize()The maximum number of results to return with this call (a number from 1 to 400).inthashCode()voidsetLoadBalancerNames(Collection<String> loadBalancerNames)The names of the load balancers.voidsetMarker(String marker)The marker for the next set of results.voidsetPageSize(Integer pageSize)The maximum number of results to return with this call (a number from 1 to 400).StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeLoadBalancersRequestwithLoadBalancerNames(String... loadBalancerNames)The names of the load balancers.DescribeLoadBalancersRequestwithLoadBalancerNames(Collection<String> loadBalancerNames)The names of the load balancers.DescribeLoadBalancersRequestwithMarker(String marker)The marker for the next set of results.DescribeLoadBalancersRequestwithPageSize(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 Detail
-
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
public DescribeLoadBalancersRequest(List<String> loadBalancerNames)
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 Detail
-
getLoadBalancerNames
public List<String> getLoadBalancerNames()
The names of the load balancers.
- Returns:
- The names of the load balancers.
-
setLoadBalancerNames
public void setLoadBalancerNames(Collection<String> loadBalancerNames)
The names of the load balancers.
- Parameters:
loadBalancerNames- The names of the load balancers.
-
withLoadBalancerNames
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)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
public DescribeLoadBalancersRequest withLoadBalancerNames(Collection<String> loadBalancerNames)
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
public void setMarker(String marker)
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
public String 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
public DescribeLoadBalancersRequest withMarker(String marker)
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
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.
- Parameters:
pageSize- The maximum number of results to return with this call (a number from 1 to 400). The default is 400.
-
getPageSize
public Integer 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
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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeLoadBalancersRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-