Package com.vmware.nsx_policy.model
Class RuntimeInterfaceStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RuntimeInterfaceStatistics.Builder
-
- Enclosing class:
- RuntimeInterfaceStatistics
public static final class RuntimeInterfaceStatistics.Builder extends java.lang.Object
Builder class forRuntimeInterfaceStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofRuntimeInterfaceStatistics
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRuntimeInterfaceStatistics
.
-
-
Method Detail
-
setRxBytes
public RuntimeInterfaceStatistics.Builder setRxBytes(SIDataCounter rxBytes)
- Parameters:
rxBytes
- New value for the property.
-
setRxPackets
public RuntimeInterfaceStatistics.Builder setRxPackets(SIDataCounter rxPackets)
- Parameters:
rxPackets
- New value for the property.
-
setTxBytes
public RuntimeInterfaceStatistics.Builder setTxBytes(SIDataCounter txBytes)
- Parameters:
txBytes
- New value for the property.
-
setTxPackets
public RuntimeInterfaceStatistics.Builder setTxPackets(SIDataCounter txPackets)
- Parameters:
txPackets
- New value for the property.
-
setDroppedBySecurityPackets
public RuntimeInterfaceStatistics.Builder setDroppedBySecurityPackets(SIPacketsDroppedBySecurity droppedBySecurityPackets)
- Parameters:
droppedBySecurityPackets
- New value for the property.
-
setMacLearning
public RuntimeInterfaceStatistics.Builder setMacLearning(SIMacLearningCounters macLearning)
- Parameters:
macLearning
- New value for the property.
-
setInterfaceIndex
public RuntimeInterfaceStatistics.Builder setInterfaceIndex(java.lang.Long interfaceIndex)
Index of the interface 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:
interfaceIndex
- New value for the property.
-
setLastUpdateTimestamp
public RuntimeInterfaceStatistics.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data. 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:
lastUpdateTimestamp
- New value for the property.
-
build
public RuntimeInterfaceStatistics build()
-
-