Package com.amazonaws.services.ec2.model
Class DescribeAddressesResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeAddressesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeAddressesResult extends Object implements Serializable, Cloneable
Contains the output of DescribeAddresses.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeAddressesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeAddressesResult
clone()
boolean
equals(Object obj)
List<Address>
getAddresses()
Information about one or more Elastic IP addresses.int
hashCode()
void
setAddresses(Collection<Address> addresses)
Information about one or more Elastic IP addresses.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeAddressesResult
withAddresses(Address... addresses)
Information about one or more Elastic IP addresses.DescribeAddressesResult
withAddresses(Collection<Address> addresses)
Information about one or more Elastic IP addresses.
-
-
-
Method Detail
-
getAddresses
public List<Address> getAddresses()
Information about one or more Elastic IP addresses.
- Returns:
- Information about one or more Elastic IP addresses.
-
setAddresses
public void setAddresses(Collection<Address> addresses)
Information about one or more Elastic IP addresses.
- Parameters:
addresses
- Information about one or more Elastic IP addresses.
-
withAddresses
public DescribeAddressesResult withAddresses(Address... addresses)
Information about one or more Elastic IP addresses.
NOTE: This method appends the values to the existing list (if any). Use
setAddresses(java.util.Collection)
orwithAddresses(java.util.Collection)
if you want to override the existing values.- Parameters:
addresses
- Information about one or more Elastic IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAddresses
public DescribeAddressesResult withAddresses(Collection<Address> addresses)
Information about one or more Elastic IP addresses.
- Parameters:
addresses
- Information about one or more 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 DescribeAddressesResult clone()
-
-