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()