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