Package com.vmware.nsx_policy.model
Class LogicalRouterPortStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LogicalRouterPortStatistics.Builder
-
- Enclosing class:
- LogicalRouterPortStatistics
public static final class LogicalRouterPortStatistics.Builder extends java.lang.Object
Builder class forLogicalRouterPortStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLogicalRouterPortStatistics
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogicalRouterPortStatistics
build()
LogicalRouterPortStatistics.Builder
setLogicalRouterPortId(java.lang.String logicalRouterPortId)
The ID of the logical router portLogicalRouterPortStatistics.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 ofLogicalRouterPortStatistics
.
-
-
Method Detail
-
setLogicalRouterPortId
public LogicalRouterPortStatistics.Builder setLogicalRouterPortId(java.lang.String logicalRouterPortId)
The ID of the logical router port- Parameters:
logicalRouterPortId
- New value for the property.
-
setPerNodeStatistics
public LogicalRouterPortStatistics.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 LogicalRouterPortStatistics build()
-
-