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:
  • 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

      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 Details

    • 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) or withLoadBalancerNames(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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: