com.amazonaws.services.ec2.model
Class DescribeAddressesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeAddressesRequest

public class DescribeAddressesRequest
extends AmazonWebServiceRequest

Container for the parameters to the DescribeAddresses operation.

The DescribeAddresses operation lists elastic IP addresses assigned to your account.

See Also:
AmazonEC2.describeAddresses(DescribeAddressesRequest)

Constructor Summary
DescribeAddressesRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getAllocationIds()
          Returns the value of the AllocationIds property for this object.
 List<Filter> getFilters()
          A list of filters used to match properties for Addresses.
 List<String> getPublicIps()
          The optional list of Elastic IP addresses to describe.
 int hashCode()
           
 void setAllocationIds(Collection<String> allocationIds)
          Sets the value of the AllocationIds property for this object.
 void setFilters(Collection<Filter> filters)
          A list of filters used to match properties for Addresses.
 void setPublicIps(Collection<String> publicIps)
          The optional list of Elastic IP addresses to describe.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeAddressesRequest withAllocationIds(Collection<String> allocationIds)
          Sets the value of the AllocationIds property for this object.
 DescribeAddressesRequest withAllocationIds(String... allocationIds)
          Sets the value of the AllocationIds property for this object.
 DescribeAddressesRequest withFilters(Collection<Filter> filters)
          A list of filters used to match properties for Addresses.
 DescribeAddressesRequest withFilters(Filter... filters)
          A list of filters used to match properties for Addresses.
 DescribeAddressesRequest withPublicIps(Collection<String> publicIps)
          The optional list of Elastic IP addresses to describe.
 DescribeAddressesRequest withPublicIps(String... publicIps)
          The optional list of Elastic IP addresses to describe.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeAddressesRequest

public DescribeAddressesRequest()
Method Detail

getPublicIps

public List<String> getPublicIps()
The optional list of Elastic IP addresses to describe.

Returns:
The optional list of Elastic IP addresses to describe.

setPublicIps

public void setPublicIps(Collection<String> publicIps)
The optional list of Elastic IP addresses to describe.

Parameters:
publicIps - The optional list of Elastic IP addresses to describe.

withPublicIps

public DescribeAddressesRequest withPublicIps(String... publicIps)
The optional list of Elastic IP addresses to describe.

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

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

withPublicIps

public DescribeAddressesRequest withPublicIps(Collection<String> publicIps)
The optional list of Elastic IP addresses to describe.

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

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

getFilters

public List<Filter> getFilters()
A list of filters used to match properties for Addresses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Returns:
A list of filters used to match properties for Addresses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

setFilters

public void setFilters(Collection<Filter> filters)
A list of filters used to match properties for Addresses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

Parameters:
filters - A list of filters used to match properties for Addresses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

withFilters

public DescribeAddressesRequest withFilters(Filter... filters)
A list of filters used to match properties for Addresses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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

Parameters:
filters - A list of filters used to match properties for Addresses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated object so that method calls can be chained together.

withFilters

public DescribeAddressesRequest withFilters(Collection<Filter> filters)
A list of filters used to match properties for Addresses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.

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

Parameters:
filters - A list of filters used to match properties for Addresses. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference.
Returns:
A reference to this updated object so that method calls can be chained together.

getAllocationIds

public List<String> getAllocationIds()
Returns the value of the AllocationIds property for this object.

Returns:
The value of the AllocationIds property for this object.

setAllocationIds

public void setAllocationIds(Collection<String> allocationIds)
Sets the value of the AllocationIds property for this object.

Parameters:
allocationIds - The new value for the AllocationIds property for this object.

withAllocationIds

public DescribeAddressesRequest withAllocationIds(String... allocationIds)
Sets the value of the AllocationIds property for this object.

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

Parameters:
allocationIds - The new value for the AllocationIds property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withAllocationIds

public DescribeAddressesRequest withAllocationIds(Collection<String> allocationIds)
Sets the value of the AllocationIds property for this object.

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

Parameters:
allocationIds - The new value for the AllocationIds property for this object.
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.