public static final class DhcpHeader.Builder
extends java.lang.Object
DhcpHeader
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
DhcpHeader . |
Modifier and Type | Method and 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. |
public Builder()
DhcpHeader
.public DhcpHeader.Builder setOpCode(java.lang.String opCode)
opCode
- New value for the property.public DhcpHeader build()