Interface IcmpTypeCode.Builder

    • Method Detail

      • code

        IcmpTypeCode.Builder code​(Integer code)

        The ICMP code for which to deny or allow access. To deny or allow all codes, use the value -1.

        Parameters:
        code - The ICMP code for which to deny or allow access. To deny or allow all codes, use the value -1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        IcmpTypeCode.Builder type​(Integer type)

        The ICMP type for which to deny or allow access. To deny or allow all types, use the value -1.

        Parameters:
        type - The ICMP type for which to deny or allow access. To deny or allow all types, use the value -1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.