Class DescribeAddressesRequest

    • Constructor Detail

      • DescribeAddressesRequest

        public DescribeAddressesRequest()
    • Method Detail

      • getPublicIps

        public List<String> 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

        public void setPublicIps​(Collection<String> publicIps)

        [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

        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.

        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

        public DescribeAddressesRequest withPublicIps​(Collection<String> publicIps)

        [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

        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.

        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

        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.

        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

        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.

        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

        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.

        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

        public List<String> 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

        public void setAllocationIds​(Collection<String> allocationIds)

        [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

        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.

        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

        public DescribeAddressesRequest withAllocationIds​(Collection<String> allocationIds)

        [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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object