public class DescribeElasticLoadBalancersResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a DescribeElasticLoadBalancers
request.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ElasticLoadBalancer> |
elasticLoadBalancers
A list of
ElasticLoadBalancer objects that describe the
specified Elastic Load Balancing instances. |
Constructor and Description |
---|
DescribeElasticLoadBalancersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeElasticLoadBalancersResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ElasticLoadBalancer> |
getElasticLoadBalancers()
A list of
ElasticLoadBalancer objects that describe the
specified Elastic Load Balancing instances. |
int |
hashCode() |
void |
setElasticLoadBalancers(java.util.Collection<ElasticLoadBalancer> elasticLoadBalancers)
A list of
ElasticLoadBalancer objects that describe the
specified Elastic Load Balancing instances. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeElasticLoadBalancersResult |
withElasticLoadBalancers(java.util.Collection<ElasticLoadBalancer> elasticLoadBalancers)
A list of
ElasticLoadBalancer objects that describe the
specified Elastic Load Balancing instances. |
DescribeElasticLoadBalancersResult |
withElasticLoadBalancers(ElasticLoadBalancer... elasticLoadBalancers)
A list of
ElasticLoadBalancer objects that describe the
specified Elastic Load Balancing instances. |
private SdkInternalList<ElasticLoadBalancer> elasticLoadBalancers
A list of ElasticLoadBalancer
objects that describe the
specified Elastic Load Balancing instances.
public java.util.List<ElasticLoadBalancer> getElasticLoadBalancers()
A list of ElasticLoadBalancer
objects that describe the
specified Elastic Load Balancing instances.
ElasticLoadBalancer
objects that describe
the specified Elastic Load Balancing instances.public void setElasticLoadBalancers(java.util.Collection<ElasticLoadBalancer> elasticLoadBalancers)
A list of ElasticLoadBalancer
objects that describe the
specified Elastic Load Balancing instances.
elasticLoadBalancers
- A list of ElasticLoadBalancer
objects that describe
the specified Elastic Load Balancing instances.public DescribeElasticLoadBalancersResult withElasticLoadBalancers(ElasticLoadBalancer... elasticLoadBalancers)
A list of ElasticLoadBalancer
objects that describe the
specified Elastic Load Balancing instances.
NOTE: This method appends the values to the existing list (if
any). Use setElasticLoadBalancers(java.util.Collection)
or
withElasticLoadBalancers(java.util.Collection)
if you want to
override the existing values.
elasticLoadBalancers
- A list of ElasticLoadBalancer
objects that describe
the specified Elastic Load Balancing instances.public DescribeElasticLoadBalancersResult withElasticLoadBalancers(java.util.Collection<ElasticLoadBalancer> elasticLoadBalancers)
A list of ElasticLoadBalancer
objects that describe the
specified Elastic Load Balancing instances.
elasticLoadBalancers
- A list of ElasticLoadBalancer
objects that describe
the specified Elastic Load Balancing instances.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 DescribeElasticLoadBalancersResult clone()
clone
in class java.lang.Object