Package com.vmware.nsx_policy.model
Class PolicyInterfaceStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyInterfaceStatistics.Builder
-
- Enclosing class:
- PolicyInterfaceStatistics
public static final class PolicyInterfaceStatistics.Builder extends java.lang.Object
Builder class forPolicyInterfaceStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyInterfaceStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyInterfaceStatistics
build()
PolicyInterfaceStatistics.Builder
setLogicalRouterPortId(java.lang.String logicalRouterPortId)
The ID of the logical router portPolicyInterfaceStatistics.Builder
setPerNodeStatistics(java.util.List<LogicalRouterPortStatisticsPerNode> perNodeStatistics)
Per Node Statistics This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyInterfaceStatistics
.
-
-
Method Detail
-
setLogicalRouterPortId
public PolicyInterfaceStatistics.Builder setLogicalRouterPortId(java.lang.String logicalRouterPortId)
The ID of the logical router port- Parameters:
logicalRouterPortId
- New value for the property.
-
setPerNodeStatistics
public PolicyInterfaceStatistics.Builder setPerNodeStatistics(java.util.List<LogicalRouterPortStatisticsPerNode> perNodeStatistics)
Per Node Statistics 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:
perNodeStatistics
- New value for the property.
-
build
public PolicyInterfaceStatistics build()
-
-