Package com.vmware.nsx_policy.model
Class DhcpV4Options.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DhcpV4Options.Builder
-
- Enclosing class:
- DhcpV4Options
public static final class DhcpV4Options.Builder extends java.lang.Object
Builder class forDhcpV4Options
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDhcpV4Options
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DhcpV4Options
build()
DhcpV4Options.Builder
setOption121(DhcpOption121 option121)
DhcpV4Options.Builder
setOthers(java.util.List<GenericDhcpOption> others)
To define DHCP options other than option 121 in generic format.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDhcpV4Options
.
-
-
Method Detail
-
setOption121
public DhcpV4Options.Builder setOption121(DhcpOption121 option121)
- Parameters:
option121
- New value for the property.
-
setOthers
public DhcpV4Options.Builder setOthers(java.util.List<GenericDhcpOption> others)
To define DHCP options other than option 121 in generic format. Please note, only the following options can be defined in generic format. Those other options will be accepted without validation but will not take effect. -------------------------- Code Name -------------------------- 2 Time Offset 6 Domain Name Server 13 Boot File Size 19 Forward On/Off 26 MTU Interface 28 Broadcast Address 35 ARP Timeout 40 NIS Domain 41 NIS Servers 42 NTP Servers 44 NETBIOS Name Srv 45 NETBIOS Dist Srv 46 NETBIOS Node Type 47 NETBIOS Scope 58 Renewal Time 59 Rebinding Time 64 NIS+-Domain-Name 65 NIS+-Server-Addr 66 TFTP Server-Name (used by PXE) 67 Bootfile-Name (used by PXE) 117 Name Service Search 119 Domain Search 150 TFTP server address (used by PXE) 209 PXE Configuration File 210 PXE Path Prefix 211 PXE Reboot Time- Parameters:
others
- New value for the property.
-
build
public DhcpV4Options build()
-
-