public static final class L2VPNTapTrafficStatistics.Builder
extends java.lang.Object
L2VPNTapTrafficStatistics
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
L2VPNTapTrafficStatistics . |
Modifier and Type | Method and Description |
---|---|
L2VPNTapTrafficStatistics |
build() |
L2VPNTapTrafficStatistics.Builder |
setBytesIn(java.lang.Long bytesIn)
Total number of incoming bytes.
|
L2VPNTapTrafficStatistics.Builder |
setBytesOut(java.lang.Long bytesOut)
Total number of outgoing bytes.
|
L2VPNTapTrafficStatistics.Builder |
setPacketsIn(java.lang.Long packetsIn)
Total number of incoming packets.
|
L2VPNTapTrafficStatistics.Builder |
setPacketsOut(java.lang.Long packetsOut)
Total number of outgoing packets.
|
L2VPNTapTrafficStatistics.Builder |
setPacketsReceiveError(java.lang.Long packetsReceiveError)
Total number of incoming packets dropped.
|
L2VPNTapTrafficStatistics.Builder |
setPacketsSentError(java.lang.Long packetsSentError)
Total number of packets dropped while sending for any reason.
|
public Builder()
L2VPNTapTrafficStatistics
.public L2VPNTapTrafficStatistics.Builder setBytesIn(java.lang.Long bytesIn)
bytesIn
- New value for the property.public L2VPNTapTrafficStatistics.Builder setBytesOut(java.lang.Long bytesOut)
bytesOut
- New value for the property.public L2VPNTapTrafficStatistics.Builder setPacketsIn(java.lang.Long packetsIn)
packetsIn
- New value for the property.public L2VPNTapTrafficStatistics.Builder setPacketsOut(java.lang.Long packetsOut)
packetsOut
- New value for the property.public L2VPNTapTrafficStatistics.Builder setPacketsReceiveError(java.lang.Long packetsReceiveError)
packetsReceiveError
- New value for the property.public L2VPNTapTrafficStatistics.Builder setPacketsSentError(java.lang.Long packetsSentError)
packetsSentError
- New value for the property.public L2VPNTapTrafficStatistics build()