@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAddressesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeAddressesRequest>
Contains the parameters for DescribeAddresses.
NOOP
Constructor and Description |
---|
DescribeAddressesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAddressesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<Filter> getFilters()
One or more filters. Filter names and values are case-sensitive.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource. Specify
the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag
Purpose=X, specify tag:Purpose
for the filter name and X
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource.
Specify the key of the tag in the filter name and the value of the tag in the filter value. For example,
for the tag Purpose=X, specify tag:Purpose
for the filter name and X
for the
filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public void setFilters(Collection<Filter> filters)
One or more filters. Filter names and values are case-sensitive.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource. Specify
the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag
Purpose=X, specify tag:Purpose
for the filter name and X
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
filters
- One or more filters. Filter names and values are case-sensitive.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource.
Specify the key of the tag in the filter name and the value of the tag in the filter value. For example,
for the tag Purpose=X, specify tag:Purpose
for the filter name and X
for the
filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public DescribeAddressesRequest withFilters(Filter... filters)
One or more filters. Filter names and values are case-sensitive.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource. Specify
the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag
Purpose=X, specify tag:Purpose
for the filter name and X
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- One or more filters. Filter names and values are case-sensitive.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource.
Specify the key of the tag in the filter name and the value of the tag in the filter value. For example,
for the tag Purpose=X, specify tag:Purpose
for the filter name and X
for the
filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public DescribeAddressesRequest withFilters(Collection<Filter> filters)
One or more filters. Filter names and values are case-sensitive.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource. Specify
the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag
Purpose=X, specify tag:Purpose
for the filter name and X
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned
a tag with a specific key, regardless of the tag value.
filters
- One or more filters. Filter names and values are case-sensitive.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource.
Specify the key of the tag in the filter name and the value of the tag in the filter value. For example,
for the tag Purpose=X, specify tag:Purpose
for the filter name and X
for the
filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources
assigned a tag with a specific key, regardless of the tag value.
public List<String> getPublicIps()
[EC2-Classic] One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
public void setPublicIps(Collection<String> publicIps)
[EC2-Classic] One or more Elastic IP addresses.
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)
[EC2-Classic] One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
NOTE: This method appends the values to the existing list (if any). Use
setPublicIps(java.util.Collection)
or withPublicIps(java.util.Collection)
if you want to
override the existing values.
publicIps
- [EC2-Classic] One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
public DescribeAddressesRequest withPublicIps(Collection<String> publicIps)
[EC2-Classic] One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
publicIps
- [EC2-Classic] One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
public List<String> getAllocationIds()
[EC2-VPC] One or more allocation IDs.
Default: Describes all your Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
public void setAllocationIds(Collection<String> allocationIds)
[EC2-VPC] One or more allocation IDs.
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)
[EC2-VPC] One or more allocation IDs.
Default: Describes all your Elastic IP addresses.
NOTE: This method appends the values to the existing list (if any). Use
setAllocationIds(java.util.Collection)
or withAllocationIds(java.util.Collection)
if you want
to override the existing values.
allocationIds
- [EC2-VPC] One or more allocation IDs.
Default: Describes all your Elastic IP addresses.
public DescribeAddressesRequest withAllocationIds(Collection<String> allocationIds)
[EC2-VPC] One or more allocation IDs.
Default: Describes all your Elastic IP addresses.
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 Object
Object.toString()
public DescribeAddressesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.