Class DhcpConfiguration

    • Constructor Detail

      • DhcpConfiguration

        public DhcpConfiguration()
    • Method Detail

      • setKey

        public void setKey​(String key)

        The name of a DHCP option.

        Parameters:
        key - The name of a DHCP option.
      • getKey

        public String getKey()

        The name of a DHCP option.

        Returns:
        The name of a DHCP option.
      • withKey

        public DhcpConfiguration withKey​(String key)

        The name of a DHCP option.

        Parameters:
        key - The name of a DHCP option.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getValues

        public List<String> getValues()

        One or more values for the DHCP option.

        Returns:
        One or more values for the DHCP option.
      • setValues

        public void setValues​(Collection<String> values)

        One or more values for the DHCP option.

        Parameters:
        values - One or more values for the DHCP option.
      • withValues

        public DhcpConfiguration withValues​(String... values)

        One or more values for the DHCP option.

        NOTE: This method appends the values to the existing list (if any). Use setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the existing values.

        Parameters:
        values - One or more values for the DHCP option.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withValues

        public DhcpConfiguration withValues​(Collection<String> values)

        One or more values for the DHCP option.

        Parameters:
        values - One or more values for the DHCP option.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object