public class DescribeElasticIpsResult extends Object implements Serializable, Cloneable
Contains the response to a DescribeElasticIps
request.
Constructor and Description |
---|
DescribeElasticIpsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeElasticIpsResult |
clone() |
boolean |
equals(Object obj) |
List<ElasticIp> |
getElasticIps()
An
ElasticIps object that describes the specified Elastic
IP addresses. |
int |
hashCode() |
void |
setElasticIps(Collection<ElasticIp> elasticIps)
An
ElasticIps object that describes the specified Elastic
IP addresses. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeElasticIpsResult |
withElasticIps(Collection<ElasticIp> elasticIps)
An
ElasticIps object that describes the specified Elastic
IP addresses. |
DescribeElasticIpsResult |
withElasticIps(ElasticIp... elasticIps)
An
ElasticIps object that describes the specified Elastic
IP addresses. |
public List<ElasticIp> getElasticIps()
ElasticIps
object that describes the specified Elastic
IP addresses.ElasticIps
object that describes the specified Elastic
IP addresses.public void setElasticIps(Collection<ElasticIp> elasticIps)
ElasticIps
object that describes the specified Elastic
IP addresses.elasticIps
- An ElasticIps
object that describes the specified Elastic
IP addresses.public DescribeElasticIpsResult withElasticIps(ElasticIp... elasticIps)
ElasticIps
object that describes the specified Elastic
IP addresses.
NOTE: This method appends the values to the existing list (if
any). Use setElasticIps(java.util.Collection)
or withElasticIps(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
elasticIps
- An ElasticIps
object that describes the specified Elastic
IP addresses.public DescribeElasticIpsResult withElasticIps(Collection<ElasticIp> elasticIps)
ElasticIps
object that describes the specified Elastic
IP addresses.
Returns a reference to this object so that method calls can be chained together.
elasticIps
- An ElasticIps
object that describes the specified Elastic
IP addresses.public String toString()
toString
in class Object
Object.toString()
public DescribeElasticIpsResult clone()
Copyright © 2015. All rights reserved.