Package com.vmware.nsx_policy.model
Class VswitchCounters.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.VswitchCounters.Builder
-
- Enclosing class:
- VswitchCounters
public static final class VswitchCounters.Builder extends java.lang.Object
Builder class forVswitchCounters
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofVswitchCounters
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VswitchCounters
build()
VswitchCounters.Builder
setForgedTransmitRxDrops(java.lang.Long forgedTransmitRxDrops)
Drops due to forged transmits disabled.VswitchCounters.Builder
setUnknownUnicastRxUplinkPkts(java.lang.Long unknownUnicastRxUplinkPkts)
Unknown unicast flooded packets received from uplink.VswitchCounters.Builder
setUnknownUnicastTxUplinkPkts(java.lang.Long unknownUnicastTxUplinkPkts)
Unknown unicast flooded packets sent on the uplink.VswitchCounters.Builder
setVlanTagMismatchRx(java.lang.Long vlanTagMismatchRx)
Drops due to VLAN tag mismatch of packets received by vswitch.VswitchCounters.Builder
setVlanTagMismatchRxMcast(java.lang.Long vlanTagMismatchRxMcast)
Drops due to VLAN tag mismatch of packets received by vswitch.VswitchCounters.Builder
setVlanTagMismatchTx(java.lang.Long vlanTagMismatchTx)
Drops due to VLAN tag mismatch of packets forwarded by vswitch.VswitchCounters.Builder
setVlanTagMismatchTxMcast(java.lang.Long vlanTagMismatchTxMcast)
Drops due to VLAN tag mismatch of packets forwarded by vswitch.VswitchCounters.Builder
setVniTagMismatchTx(java.lang.Long vniTagMismatchTx)
Drops due to VNI tag mismatch of packets forwarded by vswitch.VswitchCounters.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 ofVswitchCounters
.
-
-
Method Detail
-
setForgedTransmitRxDrops
public VswitchCounters.Builder setForgedTransmitRxDrops(java.lang.Long forgedTransmitRxDrops)
Drops due to forged transmits disabled. format: int64- Parameters:
forgedTransmitRxDrops
- New value for the property.
-
setUnknownUnicastRxUplinkPkts
public VswitchCounters.Builder setUnknownUnicastRxUplinkPkts(java.lang.Long unknownUnicastRxUplinkPkts)
Unknown unicast flooded packets received from uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
unknownUnicastRxUplinkPkts
- New value for the property.
-
setUnknownUnicastTxUplinkPkts
public VswitchCounters.Builder setUnknownUnicastTxUplinkPkts(java.lang.Long unknownUnicastTxUplinkPkts)
Unknown unicast flooded packets sent on the uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
unknownUnicastTxUplinkPkts
- New value for the property.
-
setVlanTagMismatchRx
public VswitchCounters.Builder setVlanTagMismatchRx(java.lang.Long vlanTagMismatchRx)
Drops due to VLAN tag mismatch of packets received by vswitch. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
vlanTagMismatchRx
- New value for the property.
-
setVlanTagMismatchRxMcast
public VswitchCounters.Builder setVlanTagMismatchRxMcast(java.lang.Long vlanTagMismatchRxMcast)
Drops due to VLAN tag mismatch of packets received by vswitch. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
vlanTagMismatchRxMcast
- New value for the property.
-
setVlanTagMismatchTx
public VswitchCounters.Builder setVlanTagMismatchTx(java.lang.Long vlanTagMismatchTx)
Drops due to VLAN tag mismatch of packets forwarded by vswitch. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
vlanTagMismatchTx
- New value for the property.
-
setVlanTagMismatchTxMcast
public VswitchCounters.Builder setVlanTagMismatchTxMcast(java.lang.Long vlanTagMismatchTxMcast)
Drops due to VLAN tag mismatch of packets forwarded by vswitch. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
vlanTagMismatchTxMcast
- New value for the property.
-
setVniTagMismatchTx
public VswitchCounters.Builder setVniTagMismatchTx(java.lang.Long vniTagMismatchTx)
Drops due to VNI tag mismatch of packets forwarded by vswitch. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
vniTagMismatchTx
- New value for the property.
-
setVniTagMismatchTxMcast
public VswitchCounters.Builder setVniTagMismatchTxMcast(java.lang.Long vniTagMismatchTxMcast)
Drops due to VNI tag mismatch of packets forwarded by vswitch. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
vniTagMismatchTxMcast
- New value for the property.
-
build
public VswitchCounters build()
-
-