Package com.vmware.nsx_policy.model
Class CounterResult.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.CounterResult.Builder
-
- Enclosing class:
- CounterResult
public static final class CounterResult.Builder extends java.lang.ObjectBuilder class forCounterResult.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofCounterResult.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CounterResultbuild()CounterResult.BuildersetBackwardResults(java.util.List<com.vmware.vapi.bindings.Structure> backwardResults)The count action results from the checkpoints traversed by packets from the destination port.CounterResult.BuildersetForwardResults(java.util.List<com.vmware.vapi.bindings.Structure> forwardResults)The count action results from the checkpoints traversed by packets from the source port.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofCounterResult.
-
-
Method Detail
-
setBackwardResults
public CounterResult.Builder setBackwardResults(java.util.List<com.vmware.vapi.bindings.Structure> backwardResults)
The count action results from the checkpoints traversed by packets from the destination port.- Parameters:
backwardResults- New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined inCountObservation. When methods return a value of this class as a return value, the property will contain all the properties defined inCountObservation.
-
setForwardResults
public CounterResult.Builder setForwardResults(java.util.List<com.vmware.vapi.bindings.Structure> forwardResults)
The count action results from the checkpoints traversed by packets from the source port.- Parameters:
forwardResults- New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined inCountObservation. When methods return a value of this class as a return value, the property will contain all the properties defined inCountObservation.
-
build
public CounterResult build()
-
-