Package com.vmware.nsx_policy.model
Class ArpHeader.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ArpHeader.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArpHeader
build()
ArpHeader.Builder
setDstIp(java.lang.String dstIp)
The destination IP address format: ipv4ArpHeader.Builder
setOpCode(java.lang.String opCode)
Possible values are:ArpHeader.OP_CODE_REQUEST
ArpHeader.OP_CODE_REPLY
This field specifies the nature of the Arp message being sent.ArpHeader.Builder
setSrcIp(java.lang.String srcIp)
This field specifies the IP address of the sender.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofArpHeader
.
-
-
Method Detail
-
setDstIp
public ArpHeader.Builder setDstIp(java.lang.String dstIp)
The destination IP address format: ipv4- Parameters:
dstIp
- New value for the property.
-
setOpCode
public ArpHeader.Builder setOpCode(java.lang.String opCode)
Possible values are: This field specifies the nature of the Arp message being sent.- Parameters:
opCode
- New value for the property.
-
setSrcIp
public ArpHeader.Builder setSrcIp(java.lang.String srcIp)
This field specifies the IP address of the sender. If omitted, the src_ip is set to 0.0.0.0. format: ipv4- Parameters:
srcIp
- New value for the property.
-
build
public ArpHeader build()
-
-