public static final class LogicalPortStatistics.Builder
extends java.lang.Object
LogicalPortStatistics.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
LogicalPortStatistics. |
| Modifier and Type | Method and Description |
|---|---|
LogicalPortStatistics |
build() |
LogicalPortStatistics.Builder |
setDroppedBySecurityPackets(PacketsDroppedBySecurity droppedBySecurityPackets) |
LogicalPortStatistics.Builder |
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated
the data.
|
LogicalPortStatistics.Builder |
setLogicalPortId(java.lang.String logicalPortId)
The id of the logical port
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
LogicalPortStatistics.Builder |
setMacLearning(MacLearningCounters macLearning) |
LogicalPortStatistics.Builder |
setRxBytes(DataCounter rxBytes) |
LogicalPortStatistics.Builder |
setRxPackets(DataCounter rxPackets) |
LogicalPortStatistics.Builder |
setTxBytes(DataCounter txBytes) |
LogicalPortStatistics.Builder |
setTxPackets(DataCounter txPackets) |
public Builder()
LogicalPortStatistics.public LogicalPortStatistics.Builder setRxBytes(DataCounter rxBytes)
rxBytes - New value for the property.public LogicalPortStatistics.Builder setRxPackets(DataCounter rxPackets)
rxPackets - New value for the property.public LogicalPortStatistics.Builder setTxBytes(DataCounter txBytes)
txBytes - New value for the property.public LogicalPortStatistics.Builder setTxPackets(DataCounter txPackets)
txPackets - New value for the property.public LogicalPortStatistics.Builder setDroppedBySecurityPackets(PacketsDroppedBySecurity droppedBySecurityPackets)
droppedBySecurityPackets - New value for the property.public LogicalPortStatistics.Builder setMacLearning(MacLearningCounters macLearning)
macLearning - New value for the property.public LogicalPortStatistics.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
lastUpdateTimestamp - New value for the property.public LogicalPortStatistics.Builder setLogicalPortId(java.lang.String logicalPortId)
logicalPortId - New value for the property.public LogicalPortStatistics build()