Interface PortRange.Builder

    • Method Detail

      • fromPort

        PortRange.Builder fromPort​(Integer fromPort)

        The first port in the range of ports, inclusive.

        Parameters:
        fromPort - The first port in the range of ports, inclusive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toPort

        PortRange.Builder toPort​(Integer toPort)

        The last port in the range of ports, inclusive.

        Parameters:
        toPort - The last port in the range of ports, inclusive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.