Package com.vmware.nsx_policy.model
Class AntreaTraceflowObservation.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AntreaTraceflowObservation.Builder
-
- Enclosing class:
- AntreaTraceflowObservation
public static final class AntreaTraceflowObservation.Builder extends java.lang.ObjectBuilder class forAntreaTraceflowObservation.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofAntreaTraceflowObservation.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAntreaTraceflowObservation.
-
-
Method Detail
-
setComponentType
public AntreaTraceflowObservation.Builder setComponentType(java.lang.String componentType)
Possible values are:-
AntreaTraceflowObservation.COMPONENT_TYPE_UNKNOWN -
AntreaTraceflowObservation.COMPONENT_TYPE_ANTREA_SPOOFGUARD -
AntreaTraceflowObservation.COMPONENT_TYPE_ANTREA_LB -
AntreaTraceflowObservation.COMPONENT_TYPE_ANTREA_ROUTING -
AntreaTraceflowObservation.COMPONENT_TYPE_ANTREA_DFW -
AntreaTraceflowObservation.COMPONENT_TYPE_ANTREA_FORWARDING
- Parameters:
componentType- New value for the property.
-
-
setContainerNodeId
public AntreaTraceflowObservation.Builder setContainerNodeId(java.lang.String containerNodeId)
UID of the container node that observed a traceflow packet. 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:
containerNodeId- New value for the property.
-
setObservationType
public AntreaTraceflowObservation.Builder setObservationType(java.lang.String observationType)
Possible values are:-
AntreaTraceflowObservation.OBSERVATION_TYPE_ANTREATRACEFLOWOBSERVATIONDELIVERED -
AntreaTraceflowObservation.OBSERVATION_TYPE_ANTREATRACEFLOWOBSERVATIONRECEIVED -
AntreaTraceflowObservation.OBSERVATION_TYPE_ANTREATRACEFLOWOBSERVATIONFORWARDED -
AntreaTraceflowObservation.OBSERVATION_TYPE_ANTREATRACEFLOWOBSERVATIONDROPPED
- Parameters:
observationType- New value for the property.
-
-
setTimestamp
public AntreaTraceflowObservation.Builder setTimestamp(java.lang.Long timestamp)
Timestamp when the observation was collect by Antrea controller. 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:
timestamp- New value for the property.
-
build
public AntreaTraceflowObservation build()
-
-