Package com.vmware.nsx_policy.model
Class PolicyNatRuleStatisticsPerLogicalRouter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyNatRuleStatisticsPerLogicalRouter.Builder
-
- Enclosing class:
- PolicyNatRuleStatisticsPerLogicalRouter
public static final class PolicyNatRuleStatisticsPerLogicalRouter.Builder extends java.lang.ObjectBuilder class forPolicyNatRuleStatisticsPerLogicalRouter.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPolicyNatRuleStatisticsPerLogicalRouter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyNatRuleStatisticsPerLogicalRouterbuild()PolicyNatRuleStatisticsPerLogicalRouter.BuildersetEnforcementPointPath(java.lang.String enforcementPointPath)Policy Path referencing the enforcement point from where the statistics are fetched.PolicyNatRuleStatisticsPerLogicalRouter.BuildersetLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)Timestamp when the data was last updated.PolicyNatRuleStatisticsPerLogicalRouter.BuildersetPerNodeStatistics(java.util.List<PolicyNatRuleStatisticsPerTransportNode> perNodeStatistics)Detailed Rule statistics per logical router.PolicyNatRuleStatisticsPerLogicalRouter.BuildersetRouterPath(java.lang.String routerPath)Path of the router.PolicyNatRuleStatisticsPerLogicalRouter.BuildersetStatistics(PolicyNATRuleCounters statistics)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyNatRuleStatisticsPerLogicalRouter.
-
-
Method Detail
-
setEnforcementPointPath
public PolicyNatRuleStatisticsPerLogicalRouter.Builder setEnforcementPointPath(java.lang.String enforcementPointPath)
Policy Path referencing the enforcement point from where the statistics are fetched.- Parameters:
enforcementPointPath- New value for the property.
-
setLastUpdateTimestamp
public PolicyNatRuleStatisticsPerLogicalRouter.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated. 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:
lastUpdateTimestamp- New value for the property.
-
setPerNodeStatistics
public PolicyNatRuleStatisticsPerLogicalRouter.Builder setPerNodeStatistics(java.util.List<PolicyNatRuleStatisticsPerTransportNode> perNodeStatistics)
Detailed Rule statistics per logical router. 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.
-
setRouterPath
public PolicyNatRuleStatisticsPerLogicalRouter.Builder setRouterPath(java.lang.String routerPath)
Path of the router.- Parameters:
routerPath- New value for the property.
-
setStatistics
public PolicyNatRuleStatisticsPerLogicalRouter.Builder setStatistics(PolicyNATRuleCounters statistics)
- Parameters:
statistics- New value for the property.
-
build
public PolicyNatRuleStatisticsPerLogicalRouter build()
-
-