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
DescribeElasticIpsrequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeElasticIpsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeElasticIpsResultclone()booleanequals(Object obj)List<ElasticIp>getElasticIps()AnElasticIpsobject that describes the specified Elastic IP addresses.inthashCode()voidsetElasticIps(Collection<ElasticIp> elasticIps)AnElasticIpsobject that describes the specified Elastic IP addresses.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeElasticIpsResultwithElasticIps(ElasticIp... elasticIps)AnElasticIpsobject that describes the specified Elastic IP addresses.DescribeElasticIpsResultwithElasticIps(Collection<ElasticIp> elasticIps)AnElasticIpsobject that describes the specified Elastic IP addresses.
-
-
-
Method Detail
-
getElasticIps
public List<ElasticIp> getElasticIps()
An
ElasticIpsobject that describes the specified Elastic IP addresses.- Returns:
- An
ElasticIpsobject that describes the specified Elastic IP addresses.
-
setElasticIps
public void setElasticIps(Collection<ElasticIp> elasticIps)
An
ElasticIpsobject that describes the specified Elastic IP addresses.- Parameters:
elasticIps- AnElasticIpsobject that describes the specified Elastic IP addresses.
-
withElasticIps
public DescribeElasticIpsResult withElasticIps(ElasticIp... elasticIps)
An
ElasticIpsobject 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- AnElasticIpsobject 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
ElasticIpsobject that describes the specified Elastic IP addresses.- Parameters:
elasticIps- AnElasticIpsobject 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeElasticIpsResult clone()
-
-