Interface PublicIpv4Pool.Builder

    • Method Detail

      • poolId

        PublicIpv4Pool.Builder poolId​(String poolId)

        The ID of the address pool.

        Parameters:
        poolId - The ID of the address pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        PublicIpv4Pool.Builder description​(String description)

        A description of the address pool.

        Parameters:
        description - A description of the address pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • poolAddressRanges

        PublicIpv4Pool.Builder poolAddressRanges​(Collection<PublicIpv4PoolRange> poolAddressRanges)

        The address ranges.

        Parameters:
        poolAddressRanges - The address ranges.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • poolAddressRanges

        PublicIpv4Pool.Builder poolAddressRanges​(PublicIpv4PoolRange... poolAddressRanges)

        The address ranges.

        Parameters:
        poolAddressRanges - The address ranges.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalAddressCount

        PublicIpv4Pool.Builder totalAddressCount​(Integer totalAddressCount)

        The total number of addresses.

        Parameters:
        totalAddressCount - The total number of addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalAvailableAddressCount

        PublicIpv4Pool.Builder totalAvailableAddressCount​(Integer totalAvailableAddressCount)

        The total number of available addresses.

        Parameters:
        totalAvailableAddressCount - The total number of available addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkBorderGroup

        PublicIpv4Pool.Builder networkBorderGroup​(String networkBorderGroup)

        The name of the location from which the address pool is advertised. A network border group is a unique set of Availability Zones or Local Zones from where Amazon Web Services advertises public IP addresses.

        Parameters:
        networkBorderGroup - The name of the location from which the address pool is advertised. A network border group is a unique set of Availability Zones or Local Zones from where Amazon Web Services advertises public IP addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        PublicIpv4Pool.Builder tags​(Collection<Tag> tags)

        Any tags for the address pool.

        Parameters:
        tags - Any tags for the address pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        PublicIpv4Pool.Builder tags​(Tag... tags)

        Any tags for the address pool.

        Parameters:
        tags - Any tags for the address pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        PublicIpv4Pool.Builder tags​(Consumer<Tag.Builder>... tags)

        Any tags for the address pool.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)