Interface AllocateAddressRequest.Builder

    • Method Detail

      • address

        AllocateAddressRequest.Builder address​(String address)

        The Elastic IP address to recover or an IPv4 address from an address pool.

        Parameters:
        address - The Elastic IP address to recover or an IPv4 address from an address pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicIpv4Pool

        AllocateAddressRequest.Builder publicIpv4Pool​(String publicIpv4Pool)

        The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool. To specify a specific address from the address pool, use the Address parameter instead.

        Parameters:
        publicIpv4Pool - The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool. To specify a specific address from the address pool, use the Address parameter instead.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkBorderGroup

        AllocateAddressRequest.Builder networkBorderGroup​(String networkBorderGroup)

        A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

        Use DescribeAvailabilityZones to view the network border groups.

        Parameters:
        networkBorderGroup - A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

        Use DescribeAvailabilityZones to view the network border groups.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customerOwnedIpv4Pool

        AllocateAddressRequest.Builder customerOwnedIpv4Pool​(String customerOwnedIpv4Pool)

        The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.

        Parameters:
        customerOwnedIpv4Pool - The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        AllocateAddressRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        AllocateAddressRequest.Builder tagSpecifications​(Collection<TagSpecification> tagSpecifications)

        The tags to assign to the Elastic IP address.

        Parameters:
        tagSpecifications - The tags to assign to the Elastic IP address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagSpecifications

        AllocateAddressRequest.Builder tagSpecifications​(TagSpecification... tagSpecifications)

        The tags to assign to the Elastic IP address.

        Parameters:
        tagSpecifications - The tags to assign to the Elastic IP address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.