Package com.vmware.nsx_policy.model
Class DatapathCounterResult.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DatapathCounterResult.Builder
-
- Enclosing class:
- DatapathCounterResult
public static final class DatapathCounterResult.Builder extends java.lang.ObjectBuilder class forDatapathCounterResult.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofDatapathCounterResult.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatapathCounterResultbuild()DatapathCounterResult.BuildersetModuleCounters(java.util.List<DatapathModuleCounter> moduleCounters)The data of the datapath module counters.DatapathCounterResult.BuildersetModuleName(java.lang.String moduleName)The name of the datapath module (e.g., VDL2, VDR).
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDatapathCounterResult.
-
-
Method Detail
-
setModuleCounters
public DatapathCounterResult.Builder setModuleCounters(java.util.List<DatapathModuleCounter> moduleCounters)
The data of the datapath module 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:
moduleCounters- New value for the property.
-
setModuleName
public DatapathCounterResult.Builder setModuleName(java.lang.String moduleName)
The name of the datapath module (e.g., VDL2, VDR). 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:
moduleName- New value for the property.
-
build
public DatapathCounterResult build()
-
-