Package com.vmware.nsx_policy.model
Class DataCounter.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DataCounter.Builder
-
- Enclosing class:
- DataCounter
public static final class DataCounter.Builder extends java.lang.Object
Builder class forDataCounter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDataCounter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataCounter
build()
DataCounter.Builder
setDropped(java.lang.Long dropped)
The dropped packets or bytes format: int64DataCounter.Builder
setMulticastBroadcast(java.lang.Long multicastBroadcast)
The multicast and broadcast packets or bytes format: int64DataCounter.Builder
setTotal(java.lang.Long total)
The total packets or bytes format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDataCounter
.
-
-
Method Detail
-
setDropped
public DataCounter.Builder setDropped(java.lang.Long dropped)
The dropped packets or bytes format: int64- Parameters:
dropped
- New value for the property.
-
setMulticastBroadcast
public DataCounter.Builder setMulticastBroadcast(java.lang.Long multicastBroadcast)
The multicast and broadcast packets or bytes format: int64- Parameters:
multicastBroadcast
- New value for the property.
-
setTotal
public DataCounter.Builder setTotal(java.lang.Long total)
The total packets or bytes format: int64- Parameters:
total
- New value for the property.
-
build
public DataCounter build()
-
-