Package com.vmware.nsx_policy.model
Class NdpHeader.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.NdpHeader.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NdpHeader
build()
NdpHeader.Builder
setDstIp(java.lang.String dstIp)
The IP address of the destination of the solicitation.NdpHeader.Builder
setMsgType(java.lang.String msgType)
Possible values are:NdpHeader.MSG_TYPE_SOLICITATION
NdpHeader.MSG_TYPE_ADVERTISEMENT
This field specifies the type of the Neighbor discover message being sent.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofNdpHeader
.
-
-
Method Detail
-
setDstIp
public NdpHeader.Builder setDstIp(java.lang.String dstIp)
The IP address of the destination of the solicitation. It MUST NOT be a multicast address. format: ipv6- Parameters:
dstIp
- New value for the property.
-
setMsgType
public NdpHeader.Builder setMsgType(java.lang.String msgType)
Possible values are: This field specifies the type of the Neighbor discover message being sent. NEIGHBOR_SOLICITATION - Neighbor Solicitation message to discover the link-layer address of an on-link IPv6 node or to confirm a previously determined link-layer address. NEIGHBOR_ADVERTISEMENT - Neighbor Advertisement message in response to a Neighbor Solicitation message.- Parameters:
msgType
- New value for the property.
-
build
public NdpHeader build()
-
-