Package com.vmware.nsx_policy.model
Class L2VPNTrafficStatisticsPerSegment.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VPNTrafficStatisticsPerSegment.Builder
-
- Enclosing class:
- L2VPNTrafficStatisticsPerSegment
public static final class L2VPNTrafficStatisticsPerSegment.Builder extends java.lang.ObjectBuilder class forL2VPNTrafficStatisticsPerSegment.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofL2VPNTrafficStatisticsPerSegment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VPNTrafficStatisticsPerSegmentbuild()L2VPNTrafficStatisticsPerSegment.BuildersetBumBytesIn(java.lang.Long bumBytesIn)Total number of incoming Broadcast, Unknown unicast and Multicast (BUM) bytes.L2VPNTrafficStatisticsPerSegment.BuildersetBumBytesOut(java.lang.Long bumBytesOut)Total number of outgoing Broadcast, Unknown unicast and Multicast (BUM) bytes.L2VPNTrafficStatisticsPerSegment.BuildersetBumPacketsIn(java.lang.Long bumPacketsIn)Total number of incoming Broadcast, Unknown unicast and Multicast (BUM) packets.L2VPNTrafficStatisticsPerSegment.BuildersetBumPacketsOut(java.lang.Long bumPacketsOut)Total number of outgoing Broadcast, Unknown unicast and Multicast (BUM) packets.L2VPNTrafficStatisticsPerSegment.BuildersetBytesIn(java.lang.Long bytesIn)Total number of incoming bytes.L2VPNTrafficStatisticsPerSegment.BuildersetBytesOut(java.lang.Long bytesOut)Total number of outgoing bytes.L2VPNTrafficStatisticsPerSegment.BuildersetPacketsIn(java.lang.Long packetsIn)Total number of incoming packets.L2VPNTrafficStatisticsPerSegment.BuildersetPacketsOut(java.lang.Long packetsOut)Total number of outgoing packets.L2VPNTrafficStatisticsPerSegment.BuildersetPacketsReceiveError(java.lang.Long packetsReceiveError)Total number of incoming packets dropped.L2VPNTrafficStatisticsPerSegment.BuildersetPacketsSentError(java.lang.Long packetsSentError)Total number of packets dropped while sending for any reason.L2VPNTrafficStatisticsPerSegment.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 ofL2VPNTrafficStatisticsPerSegment.
-
-
Method Detail
-
setBumBytesIn
public L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment.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 L2VPNTrafficStatisticsPerSegment build()
-
-