Package com.vmware.nsx_policy.model
Class L2VpnPerSegmentTrafficStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VpnPerSegmentTrafficStatistics.Builder
-
- Enclosing class:
- L2VpnPerSegmentTrafficStatistics
public static final class L2VpnPerSegmentTrafficStatistics.Builder extends java.lang.ObjectBuilder class forL2VpnPerSegmentTrafficStatistics.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofL2VpnPerSegmentTrafficStatistics.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VpnPerSegmentTrafficStatisticsbuild()L2VpnPerSegmentTrafficStatistics.BuildersetBumBytesIn(java.lang.Long bumBytesIn)Total number of incoming Broadcast, Unknown unicast and Multicast (BUM) bytes.L2VpnPerSegmentTrafficStatistics.BuildersetBumBytesOut(java.lang.Long bumBytesOut)Total number of outgoing Broadcast, Unknown unicast and Multicast (BUM) bytes.L2VpnPerSegmentTrafficStatistics.BuildersetBumPacketsIn(java.lang.Long bumPacketsIn)Total number of incoming Broadcast, Unknown unicast and Multicast (BUM) packets.L2VpnPerSegmentTrafficStatistics.BuildersetBumPacketsOut(java.lang.Long bumPacketsOut)Total number of outgoing Broadcast, Unknown unicast and Multicast (BUM) packets.L2VpnPerSegmentTrafficStatistics.BuildersetBytesIn(java.lang.Long bytesIn)Total number of incoming bytes.L2VpnPerSegmentTrafficStatistics.BuildersetBytesOut(java.lang.Long bytesOut)Total number of outgoing bytes.L2VpnPerSegmentTrafficStatistics.BuildersetPacketsIn(java.lang.Long packetsIn)Total number of incoming packets.L2VpnPerSegmentTrafficStatistics.BuildersetPacketsOut(java.lang.Long packetsOut)Total number of outgoing packets.L2VpnPerSegmentTrafficStatistics.BuildersetPacketsReceiveError(java.lang.Long packetsReceiveError)Total number of incoming packets dropped.L2VpnPerSegmentTrafficStatistics.BuildersetPacketsSentError(java.lang.Long packetsSentError)Total number of packets dropped while sending for any reason.L2VpnPerSegmentTrafficStatistics.BuildersetSegmentPath(java.lang.String segmentPath)Policy path referencing the segment on which stats are gathered.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofL2VpnPerSegmentTrafficStatistics.
-
-
Method Detail
-
setBumBytesIn
public L2VpnPerSegmentTrafficStatistics.Builder setBumBytesIn(java.lang.Long bumBytesIn)
Total number of incoming Broadcast, Unknown unicast and Multicast (BUM) 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:
bumBytesIn- New value for the property.
-
setBumBytesOut
public L2VpnPerSegmentTrafficStatistics.Builder setBumBytesOut(java.lang.Long bumBytesOut)
Total number of outgoing Broadcast, Unknown unicast and Multicast (BUM) 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:
bumBytesOut- New value for the property.
-
setBumPacketsIn
public L2VpnPerSegmentTrafficStatistics.Builder setBumPacketsIn(java.lang.Long bumPacketsIn)
Total number of incoming Broadcast, Unknown unicast and Multicast (BUM) 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:
bumPacketsIn- New value for the property.
-
setBumPacketsOut
public L2VpnPerSegmentTrafficStatistics.Builder setBumPacketsOut(java.lang.Long bumPacketsOut)
Total number of outgoing Broadcast, Unknown unicast and Multicast (BUM) 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:
bumPacketsOut- New value for the property.
-
setBytesIn
public L2VpnPerSegmentTrafficStatistics.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 L2VpnPerSegmentTrafficStatistics.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 L2VpnPerSegmentTrafficStatistics.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 L2VpnPerSegmentTrafficStatistics.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 L2VpnPerSegmentTrafficStatistics.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 L2VpnPerSegmentTrafficStatistics.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.
-
setSegmentPath
public L2VpnPerSegmentTrafficStatistics.Builder setSegmentPath(java.lang.String segmentPath)
Policy path referencing the segment on which stats are gathered. 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:
segmentPath- New value for the property.
-
build
public L2VpnPerSegmentTrafficStatistics build()
-
-