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.Object
Builder 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 VirtualSwitchCounter
build()
VirtualSwitchCounter.Builder
setForgedTransmitRxDrops(java.lang.Long forgedTransmitRxDrops)
Drops due to forged transmits disabled.VirtualSwitchCounter.Builder
setUnknownUnicastRxUplinkPkts(java.lang.Long unknownUnicastRxUplinkPkts)
Unknown unicast flooded packets received from uplink.VirtualSwitchCounter.Builder
setUnknownUnicastTxUplinkPkts(java.lang.Long unknownUnicastTxUplinkPkts)
Unknown unicast flooded packets sent on the uplink.VirtualSwitchCounter.Builder
setVlanTagMismatchRx(java.lang.Long vlanTagMismatchRx)
Drops due to VLAN tag mismatch of packets received by vswitch.VirtualSwitchCounter.Builder
setVlanTagMismatchRxMcast(java.lang.Long vlanTagMismatchRxMcast)
Drops due to VLAN tag mismatch of packets received by vswitch.VirtualSwitchCounter.Builder
setVlanTagMismatchTx(java.lang.Long vlanTagMismatchTx)
Drops due to VLAN tag mismatch of packets forwarded by vswitch.VirtualSwitchCounter.Builder
setVlanTagMismatchTxMcast(java.lang.Long vlanTagMismatchTxMcast)
Drops due to VLAN tag mismatch of packets forwarded by vswitch.VirtualSwitchCounter.Builder
setVniTagMismatchTx(java.lang.Long vniTagMismatchTx)
Drops due to VNI tag mismatch of packets forwarded by vswitch.VirtualSwitchCounter.Builder
setVniTagMismatchTxMcast(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()
-
-