public class DescribeAddressesRequest extends AmazonWebServiceRequest implements java.io.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(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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getPublicIps()
Default: Describes all your Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
public void setPublicIps(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.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(java.util.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. 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)
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. 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)
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. 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()
Default: Describes all your Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
public void setAllocationIds(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.