Interface IpSet.Builder

All Superinterfaces:
Buildable, CopyableBuilder<IpSet.Builder,IpSet>, SdkBuilder<IpSet.Builder,IpSet>, SdkPojo
Enclosing class:
IpSet

@Mutable @NotThreadSafe public static interface IpSet.Builder extends SdkPojo, CopyableBuilder<IpSet.Builder,IpSet>
  • Method Details

    • ipFamily

      @Deprecated IpSet.Builder ipFamily(String ipFamily)
      Deprecated.
      IpFamily has been replaced by IpAddressFamily

      IpFamily is deprecated and has been replaced by IpAddressFamily.

      Parameters:
      ipFamily - IpFamily is deprecated and has been replaced by IpAddressFamily.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddresses

      IpSet.Builder ipAddresses(Collection<String> ipAddresses)

      The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.

      Parameters:
      ipAddresses - The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddresses

      IpSet.Builder ipAddresses(String... ipAddresses)

      The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.

      Parameters:
      ipAddresses - The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddressFamily

      IpSet.Builder ipAddressFamily(String ipAddressFamily)

      The types of IP addresses included in this IP set.

      Parameters:
      ipAddressFamily - The types of IP addresses included in this IP set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipAddressFamily

      IpSet.Builder ipAddressFamily(IpAddressFamily ipAddressFamily)

      The types of IP addresses included in this IP set.

      Parameters:
      ipAddressFamily - The types of IP addresses included in this IP set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipAddressDetails

      IpSet.Builder ipAddressDetails(Collection<IpAddressDetail> ipAddressDetails)

      The array of IP addresses in the IP address set, with detailed information about the IP addresses. An IP address set can have a maximum of two IP addresses.

      Parameters:
      ipAddressDetails - The array of IP addresses in the IP address set, with detailed information about the IP addresses. An IP address set can have a maximum of two IP addresses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddressDetails

      IpSet.Builder ipAddressDetails(IpAddressDetail... ipAddressDetails)

      The array of IP addresses in the IP address set, with detailed information about the IP addresses. An IP address set can have a maximum of two IP addresses.

      Parameters:
      ipAddressDetails - The array of IP addresses in the IP address set, with detailed information about the IP addresses. An IP address set can have a maximum of two IP addresses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddressDetails

      IpSet.Builder ipAddressDetails(Consumer<IpAddressDetail.Builder>... ipAddressDetails)

      The array of IP addresses in the IP address set, with detailed information about the IP addresses. An IP address set can have a maximum of two IP addresses.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ipAddressDetails(List<IpAddressDetail>).

      Parameters:
      ipAddressDetails - a consumer that will call methods on IpAddressDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: