Class DescribeAddressesRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeAddressesRequest>
,Serializable
,Cloneable
Contains the parameters for DescribeAddresses.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
[EC2-VPC] One or more allocation IDs.This method is intended for internal use only.One or more filters.[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.toString()
Returns a string representation of this object; useful for testing and debugging.withAllocationIds
(String... allocationIds) [EC2-VPC] One or more allocation IDs.withAllocationIds
(Collection<String> allocationIds) [EC2-VPC] One or more allocation IDs.withFilters
(Filter... filters) One or more filters.withFilters
(Collection<Filter> filters) One or more filters.withPublicIps
(String... publicIps) [EC2-Classic] One or more Elastic IP addresses.withPublicIps
(Collection<String> publicIps) [EC2-Classic] One or more Elastic IP addresses.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
DescribeAddressesRequest
public DescribeAddressesRequest()
-
-
Method Details
-
getPublicIps
[EC2-Classic] One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
- Returns:
- [EC2-Classic] One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
-
setPublicIps
[EC2-Classic] One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
- Parameters:
publicIps
- [EC2-Classic] One or more Elastic IP addresses.Default: Describes all your Elastic IP addresses.
-
withPublicIps
[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)
orwithPublicIps(java.util.Collection)
if you want to override the existing values.- Parameters:
publicIps
- [EC2-Classic] One or more Elastic IP addresses.Default: Describes all your Elastic IP addresses.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPublicIps
[EC2-Classic] One or more Elastic IP addresses.
Default: Describes all your Elastic IP addresses.
- Parameters:
publicIps
- [EC2-Classic] One or more Elastic IP addresses.Default: Describes all your Elastic IP addresses.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
-
-
setFilters
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.
- Parameters:
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.
-
-
-
withFilters
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)
orwithFilters(java.util.Collection)
if you want to override the existing values.- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilters
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
getAllocationIds
[EC2-VPC] One or more allocation IDs.
Default: Describes all your Elastic IP addresses.
- Returns:
- [EC2-VPC] One or more allocation IDs.
Default: Describes all your Elastic IP addresses.
-
setAllocationIds
[EC2-VPC] One or more allocation IDs.
Default: Describes all your Elastic IP addresses.
- Parameters:
allocationIds
- [EC2-VPC] One or more allocation IDs.Default: Describes all your Elastic IP addresses.
-
withAllocationIds
[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)
orwithAllocationIds(java.util.Collection)
if you want to override the existing values.- Parameters:
allocationIds
- [EC2-VPC] One or more allocation IDs.Default: Describes all your Elastic IP addresses.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAllocationIds
[EC2-VPC] One or more allocation IDs.
Default: Describes all your Elastic IP addresses.
- Parameters:
allocationIds
- [EC2-VPC] One or more allocation IDs.Default: Describes all your Elastic IP addresses.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeAddressesRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-