Class DescribeElasticIpsResult
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.DescribeElasticIpsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeElasticIpsResult extends Object implements Serializable, Cloneable
Contains the response to a
DescribeElasticIps
request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeElasticIpsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeElasticIpsResult
clone()
boolean
equals(Object obj)
List<ElasticIp>
getElasticIps()
AnElasticIps
object that describes the specified Elastic IP addresses.int
hashCode()
void
setElasticIps(Collection<ElasticIp> elasticIps)
AnElasticIps
object that describes the specified Elastic IP addresses.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeElasticIpsResult
withElasticIps(ElasticIp... elasticIps)
AnElasticIps
object that describes the specified Elastic IP addresses.DescribeElasticIpsResult
withElasticIps(Collection<ElasticIp> elasticIps)
AnElasticIps
object that describes the specified Elastic IP addresses.
-
-
-
Method Detail
-
getElasticIps
public List<ElasticIp> getElasticIps()
An
ElasticIps
object that describes the specified Elastic IP addresses.- Returns:
- An
ElasticIps
object that describes the specified Elastic IP addresses.
-
setElasticIps
public void setElasticIps(Collection<ElasticIp> elasticIps)
An
ElasticIps
object that describes the specified Elastic IP addresses.- Parameters:
elasticIps
- AnElasticIps
object that describes the specified Elastic IP addresses.
-
withElasticIps
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)
orwithElasticIps(java.util.Collection)
if you want to override the existing values.- Parameters:
elasticIps
- AnElasticIps
object that describes the specified Elastic IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withElasticIps
public DescribeElasticIpsResult withElasticIps(Collection<ElasticIp> elasticIps)
An
ElasticIps
object that describes the specified Elastic IP addresses.- Parameters:
elasticIps
- AnElasticIps
object that describes the specified Elastic IP addresses.- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeElasticIpsResult clone()
-
-