Class DhcpConfig.Builder

  • Enclosing class:
    DhcpConfig

    public static final class DhcpConfig.Builder
    extends java.lang.Object
    Builder class for DhcpConfig.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of DhcpConfig.
    • Method Detail

      • setDhcpRelayConfigPath

        public DhcpConfig.Builder setDhcpRelayConfigPath​(java.lang.String dhcpRelayConfigPath)
        Policy path of DHCP-relay-config. If configured then all the subnets will be configured with the DHCP relay server. If not specified, then the local DHCP server will be configured for all connected subnets.
        Parameters:
        dhcpRelayConfigPath - New value for the property.
      • setEnableDhcp

        public DhcpConfig.Builder setEnableDhcp​(java.lang.Boolean enableDhcp)
        If activated, the DHCP server will be configured based on IP address type. If deactivated then neither DHCP server nor relay shall be configured.
        Parameters:
        enableDhcp - New value for the property.