Package com.vmware.nsx_policy.model
Class DhcpHeader.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DhcpHeader.Builder
-
- Enclosing class:
- DhcpHeader
public static final class DhcpHeader.Builder extends java.lang.Object
Builder class forDhcpHeader
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDhcpHeader
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DhcpHeader
build()
DhcpHeader.Builder
setOpCode(java.lang.String opCode)
Possible values are:DhcpHeader.OP_CODE_BOOTREQUEST
DhcpHeader.OP_CODE_BOOTREPLY
This is used to specify the general type of message.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDhcpHeader
.
-
-
Method Detail
-
setOpCode
public DhcpHeader.Builder setOpCode(java.lang.String opCode)
Possible values are: This is used to specify the general type of message. A client sending request to a server uses an op code of BOOTREQUEST, while a server replying uses an op code of BOOTREPLY.- Parameters:
opCode
- New value for the property.
-
build
public DhcpHeader build()
-
-