Package com.vmware.nsx_policy.model
Class TraceflowObservationCounters.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TraceflowObservationCounters.Builder
-
- Enclosing class:
- TraceflowObservationCounters
public static final class TraceflowObservationCounters.Builder extends java.lang.Object
Builder class forTraceflowObservationCounters
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTraceflowObservationCounters
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TraceflowObservationCounters
build()
TraceflowObservationCounters.Builder
setDeliveredCount(java.lang.Long deliveredCount)
Total number of delivered observations for this traceflow round.TraceflowObservationCounters.Builder
setDroppedCount(java.lang.Long droppedCount)
Total number of dropped observations for this round.TraceflowObservationCounters.Builder
setForwardedCount(java.lang.Long forwardedCount)
Total number of forwarded observations for this traceflow round.TraceflowObservationCounters.Builder
setProtectedCount(java.lang.Long protectedCount)
Total number of protected observations for this traceflow round, which current user does not have access.TraceflowObservationCounters.Builder
setReceivedCount(java.lang.Long receivedCount)
Total number of received observations for this traceflow round.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTraceflowObservationCounters
.
-
-
Method Detail
-
setDeliveredCount
public TraceflowObservationCounters.Builder setDeliveredCount(java.lang.Long deliveredCount)
Total number of delivered observations for this traceflow round. 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:
deliveredCount
- New value for the property.
-
setDroppedCount
public TraceflowObservationCounters.Builder setDroppedCount(java.lang.Long droppedCount)
Total number of dropped observations for this round. 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:
droppedCount
- New value for the property.
-
setForwardedCount
public TraceflowObservationCounters.Builder setForwardedCount(java.lang.Long forwardedCount)
Total number of forwarded observations for this traceflow round. 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:
forwardedCount
- New value for the property.
-
setProtectedCount
public TraceflowObservationCounters.Builder setProtectedCount(java.lang.Long protectedCount)
Total number of protected observations for this traceflow round, which current user does not have access. 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:
protectedCount
- New value for the property.
-
setReceivedCount
public TraceflowObservationCounters.Builder setReceivedCount(java.lang.Long receivedCount)
Total number of received observations for this traceflow round. 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:
receivedCount
- New value for the property.
-
build
public TraceflowObservationCounters build()
-
-