public class DescribeElasticIpsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a DescribeElasticIps
request.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ElasticIp> |
elasticIps
An
ElasticIps object that describes the specified Elastic IP
addresses. |
Constructor and Description |
---|
DescribeElasticIpsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeElasticIpsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ElasticIp> |
getElasticIps()
An
ElasticIps object that describes the specified Elastic IP
addresses. |
int |
hashCode() |
void |
setElasticIps(java.util.Collection<ElasticIp> elasticIps)
An
ElasticIps object that describes the specified Elastic IP
addresses. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeElasticIpsResult |
withElasticIps(java.util.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. |
private SdkInternalList<ElasticIp> elasticIps
An ElasticIps
object that describes the specified Elastic IP
addresses.
public java.util.List<ElasticIp> getElasticIps()
An ElasticIps
object that describes the specified Elastic IP
addresses.
ElasticIps
object that describes the specified
Elastic IP addresses.public void setElasticIps(java.util.Collection<ElasticIp> elasticIps)
An 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)
An 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.
elasticIps
- An ElasticIps
object that describes the specified
Elastic IP addresses.public DescribeElasticIpsResult withElasticIps(java.util.Collection<ElasticIp> elasticIps)
An ElasticIps
object that describes the specified Elastic IP
addresses.
elasticIps
- An ElasticIps
object that describes the specified
Elastic IP addresses.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 DescribeElasticIpsResult clone()
clone
in class java.lang.Object