Package com.vmware.nsx_policy.model
Class VirtualSwitchCounter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.VirtualSwitchCounter.Builder
-
- Enclosing class:
- VirtualSwitchCounter
public static final class VirtualSwitchCounter.Builder extends java.lang.ObjectBuilder class forVirtualSwitchCounter.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofVirtualSwitchCounter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VirtualSwitchCounterbuild()VirtualSwitchCounter.BuildersetForgedTransmitRxDrops(java.lang.Long forgedTransmitRxDrops)Drops due to forged transmits disabled.VirtualSwitchCounter.BuildersetUnknownUnicastRxUplinkPkts(java.lang.Long unknownUnicastRxUplinkPkts)Unknown unicast flooded packets received from uplink.VirtualSwitchCounter.BuildersetUnknownUnicastTxUplinkPkts(java.lang.Long unknownUnicastTxUplinkPkts)Unknown unicast flooded packets sent on the uplink.VirtualSwitchCounter.BuildersetVlanTagMismatchRx(java.lang.Long vlanTagMismatchRx)Drops due to VLAN tag mismatch of packets received by vswitch.VirtualSwitchCounter.BuildersetVlanTagMismatchRxMcast(java.lang.Long vlanTagMismatchRxMcast)Drops due to VLAN tag mismatch of packets received by vswitch.VirtualSwitchCounter.BuildersetVlanTagMismatchTx(java.lang.Long vlanTagMismatchTx)Drops due to VLAN tag mismatch of packets forwarded by vswitch.VirtualSwitchCounter.BuildersetVlanTagMismatchTxMcast(java.lang.Long vlanTagMismatchTxMcast)Drops due to VLAN tag mismatch of packets forwarded by vswitch.VirtualSwitchCounter.BuildersetVniTagMismatchTx(java.lang.Long vniTagMismatchTx)Drops due to VNI tag mismatch of packets forwarded by vswitch.VirtualSwitchCounter.BuildersetVniTagMismatchTxMcast(java.lang.Long vniTagMismatchTxMcast)Drops due to VNI tag mismatch of packets forwarded by vswitch.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofVirtualSwitchCounter.
-
-
Method Detail
-
setForgedTransmitRxDrops
public VirtualSwitchCounter.Builder setForgedTransmitRxDrops(java.lang.Long forgedTransmitRxDrops)
Drops due to forged transmits disabled. format: int64- Parameters:
forgedTransmitRxDrops- New value for the property.
-
setUnknownUnicastRxUplinkPkts
public VirtualSwitchCounter.Builder setUnknownUnicastRxUplinkPkts(java.lang.Long unknownUnicastRxUplinkPkts)
Unknown unicast flooded packets received from uplink. format: int64- Parameters:
unknownUnicastRxUplinkPkts- New value for the property.
-
setUnknownUnicastTxUplinkPkts
public VirtualSwitchCounter.Builder setUnknownUnicastTxUplinkPkts(java.lang.Long unknownUnicastTxUplinkPkts)
Unknown unicast flooded packets sent on the uplink. format: int64- Parameters:
unknownUnicastTxUplinkPkts- New value for the property.
-
setVlanTagMismatchRx
public VirtualSwitchCounter.Builder setVlanTagMismatchRx(java.lang.Long vlanTagMismatchRx)
Drops due to VLAN tag mismatch of packets received by vswitch. format: int64- Parameters:
vlanTagMismatchRx- New value for the property.
-
setVlanTagMismatchRxMcast
public VirtualSwitchCounter.Builder setVlanTagMismatchRxMcast(java.lang.Long vlanTagMismatchRxMcast)
Drops due to VLAN tag mismatch of packets received by vswitch. format: int64- Parameters:
vlanTagMismatchRxMcast- New value for the property.
-
setVlanTagMismatchTx
public VirtualSwitchCounter.Builder setVlanTagMismatchTx(java.lang.Long vlanTagMismatchTx)
Drops due to VLAN tag mismatch of packets forwarded by vswitch. format: int64- Parameters:
vlanTagMismatchTx- New value for the property.
-
setVlanTagMismatchTxMcast
public VirtualSwitchCounter.Builder setVlanTagMismatchTxMcast(java.lang.Long vlanTagMismatchTxMcast)
Drops due to VLAN tag mismatch of packets forwarded by vswitch. format: int64- Parameters:
vlanTagMismatchTxMcast- New value for the property.
-
setVniTagMismatchTx
public VirtualSwitchCounter.Builder setVniTagMismatchTx(java.lang.Long vniTagMismatchTx)
Drops due to VNI tag mismatch of packets forwarded by vswitch. format: int64- Parameters:
vniTagMismatchTx- New value for the property.
-
setVniTagMismatchTxMcast
public VirtualSwitchCounter.Builder setVniTagMismatchTxMcast(java.lang.Long vniTagMismatchTxMcast)
Drops due to VNI tag mismatch of packets forwarded by vswitch. format: int64- Parameters:
vniTagMismatchTxMcast- New value for the property.
-
build
public VirtualSwitchCounter build()
-
-