Package com.vmware.nsx_policy.model
Class L2VpnTapTrafficStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VpnTapTrafficStatistics.Builder
-
- Enclosing class:
- L2VpnTapTrafficStatistics
public static final class L2VpnTapTrafficStatistics.Builder extends java.lang.ObjectBuilder class forL2VpnTapTrafficStatistics.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofL2VpnTapTrafficStatistics.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VpnTapTrafficStatisticsbuild()L2VpnTapTrafficStatistics.BuildersetBytesIn(java.lang.Long bytesIn)Total number of incoming bytes.L2VpnTapTrafficStatistics.BuildersetBytesOut(java.lang.Long bytesOut)Total number of outgoing bytes.L2VpnTapTrafficStatistics.BuildersetPacketsIn(java.lang.Long packetsIn)Total number of incoming packets.L2VpnTapTrafficStatistics.BuildersetPacketsOut(java.lang.Long packetsOut)Total number of outgoing packets.L2VpnTapTrafficStatistics.BuildersetPacketsReceiveError(java.lang.Long packetsReceiveError)Total number of incoming packets dropped.L2VpnTapTrafficStatistics.BuildersetPacketsSentError(java.lang.Long packetsSentError)Total number of packets dropped while sending for any reason.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofL2VpnTapTrafficStatistics.
-
-
Method Detail
-
setBytesIn
public L2VpnTapTrafficStatistics.Builder setBytesIn(java.lang.Long bytesIn)
Total number of incoming bytes. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
bytesIn- New value for the property.
-
setBytesOut
public L2VpnTapTrafficStatistics.Builder setBytesOut(java.lang.Long bytesOut)
Total number of outgoing bytes. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
bytesOut- New value for the property.
-
setPacketsIn
public L2VpnTapTrafficStatistics.Builder setPacketsIn(java.lang.Long packetsIn)
Total number of incoming packets. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
packetsIn- New value for the property.
-
setPacketsOut
public L2VpnTapTrafficStatistics.Builder setPacketsOut(java.lang.Long packetsOut)
Total number of outgoing packets. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
packetsOut- New value for the property.
-
setPacketsReceiveError
public L2VpnTapTrafficStatistics.Builder setPacketsReceiveError(java.lang.Long packetsReceiveError)
Total number of incoming packets dropped. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
packetsReceiveError- New value for the property.
-
setPacketsSentError
public L2VpnTapTrafficStatistics.Builder setPacketsSentError(java.lang.Long packetsSentError)
Total number of packets dropped while sending for any reason. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
packetsSentError- New value for the property.
-
build
public L2VpnTapTrafficStatistics build()
-
-