Package com.vmware.nsx_policy.model
Class L2VpnSessionStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VpnSessionStatistics.Builder
-
- Enclosing class:
- L2VpnSessionStatistics
public static final class L2VpnSessionStatistics.Builder extends java.lang.Object
Builder class forL2VpnSessionStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofL2VpnSessionStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VpnSessionStatistics
build()
L2VpnSessionStatistics.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point wehere the statistics are fetched.L2VpnSessionStatistics.Builder
setTapTrafficCounters(java.util.List<L2VpnTapTrafficStatistics> tapTrafficCounters)
Tunnel port traffic counters.L2VpnSessionStatistics.Builder
setTrafficStatisticsPerSegment(java.util.List<L2VpnPerSegmentTrafficStatistics> trafficStatisticsPerSegment)
Traffic statistics per segment.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofL2VpnSessionStatistics
.
-
-
Method Detail
-
setTapTrafficCounters
public L2VpnSessionStatistics.Builder setTapTrafficCounters(java.util.List<L2VpnTapTrafficStatistics> tapTrafficCounters)
Tunnel port traffic counters. 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:
tapTrafficCounters
- New value for the property.
-
setTrafficStatisticsPerSegment
public L2VpnSessionStatistics.Builder setTrafficStatisticsPerSegment(java.util.List<L2VpnPerSegmentTrafficStatistics> trafficStatisticsPerSegment)
Traffic statistics per segment. 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:
trafficStatisticsPerSegment
- New value for the property.
-
setEnforcementPointPath
public L2VpnSessionStatistics.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point wehere the statistics are fetched. 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:
enforcementPointPath
- New value for the property.
-
build
public L2VpnSessionStatistics build()
-
-