Package com.vmware.nsx_policy.model
Class L2VPNSessionStatisticsNsxt.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.L2VPNSessionStatisticsNsxt.Builder
-
- Enclosing class:
- L2VPNSessionStatisticsNsxt
public static final class L2VPNSessionStatisticsNsxt.Builder extends java.lang.Object
Builder class forL2VPNSessionStatisticsNsxt
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofL2VPNSessionStatisticsNsxt
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description L2VPNSessionStatisticsNsxt
build()
L2VPNSessionStatisticsNsxt.Builder
setAlarm(PolicyRuntimeAlarm alarm)
L2VPNSessionStatisticsNsxt.Builder
setDisplayName(java.lang.String displayName)
Display name of l2vpn session.L2VPNSessionStatisticsNsxt.Builder
setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is fetched.L2VPNSessionStatisticsNsxt.Builder
setTapTrafficCounters(java.util.List<L2VPNTapStatistics> tapTrafficCounters)
Tunnel port traffic counters.L2VPNSessionStatisticsNsxt.Builder
setTrafficStatisticsPerSegment(java.util.List<L2VPNTrafficStatisticsPerSegment> trafficStatisticsPerSegment)
Traffic statistics per segment.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofL2VPNSessionStatisticsNsxt
.
-
-
Method Detail
-
setDisplayName
public L2VPNSessionStatisticsNsxt.Builder setDisplayName(java.lang.String displayName)
Display name of l2vpn session. 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:
displayName
- New value for the property.
-
setTapTrafficCounters
public L2VPNSessionStatisticsNsxt.Builder setTapTrafficCounters(java.util.List<L2VPNTapStatistics> 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 L2VPNSessionStatisticsNsxt.Builder setTrafficStatisticsPerSegment(java.util.List<L2VPNTrafficStatisticsPerSegment> 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.
-
setAlarm
public L2VPNSessionStatisticsNsxt.Builder setAlarm(PolicyRuntimeAlarm alarm)
- Parameters:
alarm
- New value for the property.
-
setEnforcementPointPath
public L2VPNSessionStatisticsNsxt.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point where the info is 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 L2VPNSessionStatisticsNsxt build()
-
-