Package com.vmware.nsx_policy.model
Class TraceResult.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TraceResult.Builder
-
- Enclosing class:
- TraceResult
public static final class TraceResult.Builder extends java.lang.Object
Builder class forTraceResult
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTraceResult
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TraceResult
build()
TraceResult.Builder
setAnalysis(java.util.List<java.lang.String> analysis)
Trace action result analysis notes This property may be present in responses from the server, but if it is present in a request to server it will be ignored.TraceResult.Builder
setCounters(TraceflowObservationCounters counters)
TraceResult.Builder
setDirection(java.lang.String direction)
Possible values are:TraceResult.DIRECTION_FORWARD
TraceResult.DIRECTION_BACKWARD
Direction of a trace This property may be present in responses from the server, but if it is present in a request to server it will be ignored.TraceResult.Builder
setLogicalCounters(TraceflowObservationCounters logicalCounters)
TraceResult.Builder
setObservations(java.util.List<com.vmware.vapi.bindings.Structure> observations)
Trace observation list This property may be present in responses from the server, but if it is present in a request to server it will be ignored.TraceResult.Builder
setPacketId(java.lang.String packetId)
Packet ID in the session This property may be present in responses from the server, but if it is present in a request to server it will be ignored.TraceResult.Builder
setResultOverflowed(java.lang.Boolean resultOverflowed)
Whether some observations were deleted from the result set This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTraceResult
.
-
-
Method Detail
-
setAnalysis
public TraceResult.Builder setAnalysis(java.util.List<java.lang.String> analysis)
Trace action result analysis notes 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:
analysis
- New value for the property.
-
setCounters
public TraceResult.Builder setCounters(TraceflowObservationCounters counters)
- Parameters:
counters
- New value for the property.
-
setDirection
public TraceResult.Builder setDirection(java.lang.String direction)
Possible values are: Direction of a trace 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:
direction
- New value for the property.
-
setLogicalCounters
public TraceResult.Builder setLogicalCounters(TraceflowObservationCounters logicalCounters)
- Parameters:
logicalCounters
- New value for the property.
-
setObservations
public TraceResult.Builder setObservations(java.util.List<com.vmware.vapi.bindings.Structure> observations)
Trace observation list 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:
observations
- New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined inTraceflowObservation
. When methods return a value of this class as a return value, the property will contain all the properties defined inTraceflowObservation
.
-
setPacketId
public TraceResult.Builder setPacketId(java.lang.String packetId)
Packet ID in the session 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:
packetId
- New value for the property.
-
setResultOverflowed
public TraceResult.Builder setResultOverflowed(java.lang.Boolean resultOverflowed)
Whether some observations were deleted from the result set 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:
resultOverflowed
- New value for the property.
-
build
public TraceResult build()
-
-