public class DescribeAddressesRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DescribeAddressesRequest>
DescribeAddresses operation.
Describes one or more of your Elastic IP addresses.
An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide .
| Constructor and Description |
|---|
DescribeAddressesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getAllocationIds()
[EC2-VPC] One or more allocation IDs.
|
Request<DescribeAddressesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
One or more filters.
|
List<String> |
getPublicIps()
[EC2-Classic] One or more Elastic IP addresses.
|
int |
hashCode() |
void |
setAllocationIds(Collection<String> allocationIds)
[EC2-VPC] One or more allocation IDs.
|
void |
setFilters(Collection<Filter> filters)
One or more filters.
|
void |
setPublicIps(Collection<String> publicIps)
[EC2-Classic] One or more Elastic IP addresses.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAddressesRequest |
withAllocationIds(Collection<String> allocationIds)
[EC2-VPC] One or more allocation IDs.
|
DescribeAddressesRequest |
withAllocationIds(String... allocationIds)
[EC2-VPC] One or more allocation IDs.
|
DescribeAddressesRequest |
withFilters(Collection<Filter> filters)
One or more filters.
|
DescribeAddressesRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeAddressesRequest |
withPublicIps(Collection<String> publicIps)
[EC2-Classic] One or more Elastic IP addresses.
|
DescribeAddressesRequest |
withPublicIps(String... publicIps)
[EC2-Classic] One or more Elastic IP addresses.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic List<String> getPublicIps()
Default: Describes all your Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
public void setPublicIps(Collection<String> publicIps)
Default: Describes all your Elastic IP addresses.
publicIps - [EC2-Classic] One or more Elastic IP addresses. Default: Describes all your Elastic IP addresses.
public DescribeAddressesRequest withPublicIps(String... publicIps)
Default: Describes all your Elastic IP addresses.
Returns a reference to this object so that method calls can be chained together.
publicIps - [EC2-Classic] One or more Elastic IP addresses. Default: Describes all your Elastic IP addresses.
public DescribeAddressesRequest withPublicIps(Collection<String> publicIps)
Default: Describes all your Elastic IP addresses.
Returns a reference to this object so that method calls can be chained together.
publicIps - [EC2-Classic] One or more Elastic IP addresses. Default: Describes all your Elastic IP addresses.
public List<Filter> getFilters()
allocation-id -
[EC2-VPC] The allocation ID for the address.
association-id - [EC2-VPC] The association ID for the
address.
domain - Indicates whether the
address is for use in EC2-Classic (standard) or in a VPC
(vpc).
instance-id - The ID of
the instance the address is associated with, if any.
network-interface-id - [EC2-VPC] The ID of the network
interface that the address is associated with, if any.
network-interface-owner-id - The AWS account ID of the
owner.
private-ip-address - [EC2-VPC] The
private IP address associated with the Elastic IP address.
public-ip - The Elastic IP address.
allocation-id -
[EC2-VPC] The allocation ID for the address.
association-id - [EC2-VPC] The association ID for the
address.
domain - Indicates whether the
address is for use in EC2-Classic (standard) or in a VPC
(vpc).
instance-id - The ID of
the instance the address is associated with, if any.
network-interface-id - [EC2-VPC] The ID of the network
interface that the address is associated with, if any.
network-interface-owner-id - The AWS account ID of the
owner.
private-ip-address - [EC2-VPC] The
private IP address associated with the Elastic IP address.
public-ip - The Elastic IP address.
public void setFilters(Collection<Filter> filters)
allocation-id -
[EC2-VPC] The allocation ID for the address.
association-id - [EC2-VPC] The association ID for the
address.
domain - Indicates whether the
address is for use in EC2-Classic (standard) or in a VPC
(vpc).
instance-id - The ID of
the instance the address is associated with, if any.
network-interface-id - [EC2-VPC] The ID of the network
interface that the address is associated with, if any.
network-interface-owner-id - The AWS account ID of the
owner.
private-ip-address - [EC2-VPC] The
private IP address associated with the Elastic IP address.
public-ip - The Elastic IP address.
filters - One or more filters. allocation-id -
[EC2-VPC] The allocation ID for the address.
association-id - [EC2-VPC] The association ID for the
address.
domain - Indicates whether the
address is for use in EC2-Classic (standard) or in a VPC
(vpc).
instance-id - The ID of
the instance the address is associated with, if any.
network-interface-id - [EC2-VPC] The ID of the network
interface that the address is associated with, if any.
network-interface-owner-id - The AWS account ID of the
owner.
private-ip-address - [EC2-VPC] The
private IP address associated with the Elastic IP address.
public-ip - The Elastic IP address.
public DescribeAddressesRequest withFilters(Filter... filters)
allocation-id -
[EC2-VPC] The allocation ID for the address.
association-id - [EC2-VPC] The association ID for the
address.
domain - Indicates whether the
address is for use in EC2-Classic (standard) or in a VPC
(vpc).
instance-id - The ID of
the instance the address is associated with, if any.
network-interface-id - [EC2-VPC] The ID of the network
interface that the address is associated with, if any.
network-interface-owner-id - The AWS account ID of the
owner.
private-ip-address - [EC2-VPC] The
private IP address associated with the Elastic IP address.
public-ip - The Elastic IP address.
Returns a reference to this object so that method calls can be chained together.
filters - One or more filters. allocation-id -
[EC2-VPC] The allocation ID for the address.
association-id - [EC2-VPC] The association ID for the
address.
domain - Indicates whether the
address is for use in EC2-Classic (standard) or in a VPC
(vpc).
instance-id - The ID of
the instance the address is associated with, if any.
network-interface-id - [EC2-VPC] The ID of the network
interface that the address is associated with, if any.
network-interface-owner-id - The AWS account ID of the
owner.
private-ip-address - [EC2-VPC] The
private IP address associated with the Elastic IP address.
public-ip - The Elastic IP address.
public DescribeAddressesRequest withFilters(Collection<Filter> filters)
allocation-id -
[EC2-VPC] The allocation ID for the address.
association-id - [EC2-VPC] The association ID for the
address.
domain - Indicates whether the
address is for use in EC2-Classic (standard) or in a VPC
(vpc).
instance-id - The ID of
the instance the address is associated with, if any.
network-interface-id - [EC2-VPC] The ID of the network
interface that the address is associated with, if any.
network-interface-owner-id - The AWS account ID of the
owner.
private-ip-address - [EC2-VPC] The
private IP address associated with the Elastic IP address.
public-ip - The Elastic IP address.
Returns a reference to this object so that method calls can be chained together.
filters - One or more filters. allocation-id -
[EC2-VPC] The allocation ID for the address.
association-id - [EC2-VPC] The association ID for the
address.
domain - Indicates whether the
address is for use in EC2-Classic (standard) or in a VPC
(vpc).
instance-id - The ID of
the instance the address is associated with, if any.
network-interface-id - [EC2-VPC] The ID of the network
interface that the address is associated with, if any.
network-interface-owner-id - The AWS account ID of the
owner.
private-ip-address - [EC2-VPC] The
private IP address associated with the Elastic IP address.
public-ip - The Elastic IP address.
public List<String> getAllocationIds()
Default: Describes all your Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
public void setAllocationIds(Collection<String> allocationIds)
Default: Describes all your Elastic IP addresses.
allocationIds - [EC2-VPC] One or more allocation IDs. Default: Describes all your Elastic IP addresses.
public DescribeAddressesRequest withAllocationIds(String... allocationIds)
Default: Describes all your Elastic IP addresses.
Returns a reference to this object so that method calls can be chained together.
allocationIds - [EC2-VPC] One or more allocation IDs. Default: Describes all your Elastic IP addresses.
public DescribeAddressesRequest withAllocationIds(Collection<String> allocationIds)
Default: Describes all your Elastic IP addresses.
Returns a reference to this object so that method calls can be chained together.
allocationIds - [EC2-VPC] One or more allocation IDs. Default: Describes all your Elastic IP addresses.
public Request<DescribeAddressesRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeAddressesRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.