public class DescribeAddressesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribeAddressesRequest>
Contains the parameters for DescribeAddresses.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
allocationIds
[EC2-VPC] One or more allocation IDs.
|
private SdkInternalList<Filter> |
filters
One or more filters.
|
private SdkInternalList<java.lang.String> |
publicIps
[EC2-Classic] One or more Elastic IP addresses.
|
NOOP
Constructor and Description |
---|
DescribeAddressesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeAddressesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAllocationIds()
[EC2-VPC] One or more allocation IDs.
|
Request<DescribeAddressesRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.util.List<Filter> |
getFilters()
One or more filters.
|
java.util.List<java.lang.String> |
getPublicIps()
[EC2-Classic] One or more Elastic IP addresses.
|
int |
hashCode() |
void |
setAllocationIds(java.util.Collection<java.lang.String> allocationIds)
[EC2-VPC] One or more allocation IDs.
|
void |
setFilters(java.util.Collection<Filter> filters)
One or more filters.
|
void |
setPublicIps(java.util.Collection<java.lang.String> publicIps)
[EC2-Classic] One or more Elastic IP addresses.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeAddressesRequest |
withAllocationIds(java.util.Collection<java.lang.String> allocationIds)
[EC2-VPC] One or more allocation IDs.
|
DescribeAddressesRequest |
withAllocationIds(java.lang.String... allocationIds)
[EC2-VPC] One or more allocation IDs.
|
DescribeAddressesRequest |
withFilters(java.util.Collection<Filter> filters)
One or more filters.
|
DescribeAddressesRequest |
withFilters(Filter... filters)
One or more filters.
|
DescribeAddressesRequest |
withPublicIps(java.util.Collection<java.lang.String> publicIps)
[EC2-Classic] One or more Elastic IP addresses.
|
DescribeAddressesRequest |
withPublicIps(java.lang.String... publicIps)
[EC2-Classic] One or more Elastic IP addresses.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private SdkInternalList<java.lang.String> publicIps
[EC2-Classic] One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
private SdkInternalList<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.
private SdkInternalList<java.lang.String> allocationIds
[EC2-VPC] One or more allocation IDs.
Default: Describes all your Elastic IP addresses.
public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.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.
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(java.util.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.
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.
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.
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.
public DescribeAddressesRequest withFilters(java.util.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.
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.
public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeAddressesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()