Package com.vmware.nsx_policy.model
Class L2VPNTapStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VPNTapStatistics.Builder
-
- Enclosing class:
- L2VPNTapStatistics
public static final class L2VPNTapStatistics.Builder extends java.lang.Object
Builder class forL2VPNTapStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofL2VPNTapStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VPNTapStatistics
build()
L2VPNTapStatistics.Builder
setBytesIn(java.lang.Long bytesIn)
Total number of incoming bytes.L2VPNTapStatistics.Builder
setBytesOut(java.lang.Long bytesOut)
Total number of outgoing bytes.L2VPNTapStatistics.Builder
setPacketsIn(java.lang.Long packetsIn)
Total number of incoming packets.L2VPNTapStatistics.Builder
setPacketsOut(java.lang.Long packetsOut)
Total number of outgoing packets.L2VPNTapStatistics.Builder
setPacketsReceiveError(java.lang.Long packetsReceiveError)
Total number of incoming packets dropped.L2VPNTapStatistics.Builder
setPacketsSentError(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 ofL2VPNTapStatistics
.
-
-
Method Detail
-
setBytesIn
public L2VPNTapStatistics.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 L2VPNTapStatistics.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 L2VPNTapStatistics.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 L2VPNTapStatistics.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 L2VPNTapStatistics.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 L2VPNTapStatistics.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 L2VPNTapStatistics build()
-
-