com.amazonaws.services.ec2.model
Class DescribeAddressesResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeAddressesResult

public class DescribeAddressesResult
extends Object

The result of describing an account's available Elastic IPs.


Constructor Summary
DescribeAddressesResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Address> getAddresses()
          The list of Elastic IPs.
 int hashCode()
           
 void setAddresses(Collection<Address> addresses)
          The list of Elastic IPs.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeAddressesResult withAddresses(Address... addresses)
          The list of Elastic IPs.
 DescribeAddressesResult withAddresses(Collection<Address> addresses)
          The list of Elastic IPs.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeAddressesResult

public DescribeAddressesResult()
Method Detail

getAddresses

public List<Address> getAddresses()
The list of Elastic IPs.

Returns:
The list of Elastic IPs.

setAddresses

public void setAddresses(Collection<Address> addresses)
The list of Elastic IPs.

Parameters:
addresses - The list of Elastic IPs.

withAddresses

public DescribeAddressesResult withAddresses(Address... addresses)
The list of Elastic IPs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
addresses - The list of Elastic IPs.
Returns:
A reference to this updated object so that method calls can be chained together.

withAddresses

public DescribeAddressesResult withAddresses(Collection<Address> addresses)
The list of Elastic IPs.

Returns a reference to this object so that method calls can be chained together.

Parameters:
addresses - The list of Elastic IPs.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.