Interface HostEntry.Builder

  • Method Details

    • hostname

      HostEntry.Builder hostname(String hostname)

      The hostname to use in the /etc/hosts entry.

      Parameters:
      hostname - The hostname to use in the /etc/hosts entry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddress

      HostEntry.Builder ipAddress(String ipAddress)

      The IP address to use in the /etc/hosts entry.

      Parameters:
      ipAddress - The IP address to use in the /etc/hosts entry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.