Package com.vmware.nsx_policy.model
Class Dhcpv6Header.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Dhcpv6Header.Builder
-
- Enclosing class:
- Dhcpv6Header
public static final class Dhcpv6Header.Builder extends java.lang.Object
Builder class forDhcpv6Header
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDhcpv6Header
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dhcpv6Header
build()
Dhcpv6Header.Builder
setMsgType(java.lang.String msgType)
Possible values are:Dhcpv6Header.MSG_TYPE_SOLICIT
Dhcpv6Header.MSG_TYPE_ADVERTISE
Dhcpv6Header.MSG_TYPE_REQUEST
Dhcpv6Header.MSG_TYPE_REPLY
This is used to specify the DHCP v6 message.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDhcpv6Header
.
-
-
Method Detail
-
setMsgType
public Dhcpv6Header.Builder setMsgType(java.lang.String msgType)
Possible values are: This is used to specify the DHCP v6 message. To request the assignment of one or more IPv6 addresses, a client first locates a DHCP server and then requests the assignment of addresses and other configuration information from the server. The client sends a Solicit message to the All_DHCP_Relay_Agents_and_Servers address to find available DHCP servers. Any server that can meet the client's requirements responds with an Advertise message. The client then chooses one of the servers and sends a Request message to the server asking for confirmed assignment of addresses and other configuration information. The server responds with a Reply message that contains the confirmed addresses and configuration. SOLICIT - A client sends a Solicit message to locate servers. ADVERTISE - A server sends and Advertise message to indicate that it is available. REQUEST - A client sends a Request message to request configuration parameters. REPLY - A server sends a Reply message containing assigned addresses and configuration parameters.- Parameters:
msgType
- New value for the property.
-
build
public Dhcpv6Header build()
-
-