@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeElasticLoadBalancersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a DescribeElasticLoadBalancers
request.
Constructor and Description |
---|
DescribeElasticLoadBalancersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeElasticLoadBalancersResult |
clone() |
boolean |
equals(Object obj) |
List<ElasticLoadBalancer> |
getElasticLoadBalancers()
A list of
ElasticLoadBalancer objects that describe the specified Elastic Load Balancing instances. |
int |
hashCode() |
void |
setElasticLoadBalancers(Collection<ElasticLoadBalancer> elasticLoadBalancers)
A list of
ElasticLoadBalancer objects that describe the specified Elastic Load Balancing instances. |
String |
toString()
Returns a string representation of this object.
|
DescribeElasticLoadBalancersResult |
withElasticLoadBalancers(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. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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(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(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 String toString()
toString
in class Object
Object.toString()
public DescribeElasticLoadBalancersResult clone()