public static final class SegmentStatistics.Builder
extends java.lang.Object
SegmentStatistics.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
SegmentStatistics. |
| Modifier and Type | Method and Description |
|---|---|
SegmentStatistics |
build() |
SegmentStatistics.Builder |
setDroppedBySecurityPackets(PacketsDroppedBySecurity droppedBySecurityPackets) |
SegmentStatistics.Builder |
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated
the data.
|
SegmentStatistics.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.
|
SegmentStatistics.Builder |
setMacLearning(MacLearningCounters macLearning) |
SegmentStatistics.Builder |
setRxBytes(DataCounter rxBytes) |
SegmentStatistics.Builder |
setRxPackets(DataCounter rxPackets) |
SegmentStatistics.Builder |
setTxBytes(DataCounter txBytes) |
SegmentStatistics.Builder |
setTxPackets(DataCounter txPackets) |
public Builder()
SegmentStatistics.public SegmentStatistics.Builder setRxBytes(DataCounter rxBytes)
rxBytes - New value for the property.public SegmentStatistics.Builder setRxPackets(DataCounter rxPackets)
rxPackets - New value for the property.public SegmentStatistics.Builder setTxBytes(DataCounter txBytes)
txBytes - New value for the property.public SegmentStatistics.Builder setTxPackets(DataCounter txPackets)
txPackets - New value for the property.public SegmentStatistics.Builder setDroppedBySecurityPackets(PacketsDroppedBySecurity droppedBySecurityPackets)
droppedBySecurityPackets - New value for the property.public SegmentStatistics.Builder setMacLearning(MacLearningCounters macLearning)
macLearning - New value for the property.public SegmentStatistics.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
lastUpdateTimestamp - New value for the property.public SegmentStatistics.Builder setLogicalSwitchId(java.lang.String logicalSwitchId)
logicalSwitchId - New value for the property.public SegmentStatistics build()