Interface NetworkInterface.Builder

    • Method Detail

      • ips

        NetworkInterface.Builder ips​(Collection<String> ips)

        Network interface IPs.

        Parameters:
        ips - Network interface IPs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ips

        NetworkInterface.Builder ips​(String... ips)

        Network interface IPs.

        Parameters:
        ips - Network interface IPs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isPrimary

        NetworkInterface.Builder isPrimary​(Boolean isPrimary)

        Whether this is the primary network interface.

        Parameters:
        isPrimary - Whether this is the primary network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • macAddress

        NetworkInterface.Builder macAddress​(String macAddress)

        The MAC address of the network interface.

        Parameters:
        macAddress - The MAC address of the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.