Package com.vmware.nsx_policy.model
Class DatapathModuleCounter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DatapathModuleCounter.Builder
-
- Enclosing class:
- DatapathModuleCounter
public static final class DatapathModuleCounter.Builder extends java.lang.Object
Builder class forDatapathModuleCounter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDatapathModuleCounter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatapathModuleCounter
build()
DatapathModuleCounter.Builder
setCounterName(java.lang.String counterName)
The name of the counter.DatapathModuleCounter.Builder
setCounterValue(java.lang.Long counterValue)
The value of the counter.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDatapathModuleCounter
.
-
-
Method Detail
-
setCounterName
public DatapathModuleCounter.Builder setCounterName(java.lang.String counterName)
The name of the counter. 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:
counterName
- New value for the property.
-
setCounterValue
public DatapathModuleCounter.Builder setCounterValue(java.lang.Long counterValue)
The value of the counter. 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:
counterValue
- New value for the property.
-
build
public DatapathModuleCounter build()
-
-