Package com.vmware.nsx_policy.model
Class LiveTracePacketGranularActionConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LiveTracePacketGranularActionConfig.Builder
-
- Enclosing class:
- LiveTracePacketGranularActionConfig
public static final class LiveTracePacketGranularActionConfig.Builder extends java.lang.ObjectBuilder class forLiveTracePacketGranularActionConfig.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofLiveTracePacketGranularActionConfig.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiveTracePacketGranularActionConfigbuild()LiveTracePacketGranularActionConfig.BuildersetDestIpsecVpnConfig(PolicyLiveTraceIpsecVpnConfig destIpsecVpnConfig)LiveTracePacketGranularActionConfig.BuildersetDestPortPath(java.lang.String destPortPath)Policy path of logical port for the reverse direction of a livetrace session.LiveTracePacketGranularActionConfig.BuildersetReverseFilter(com.vmware.vapi.bindings.Structure reverseFilter)LiveTracePacketGranularActionConfig.BuildersetSampling(LiveTraceSamplingConfig sampling)LiveTracePacketGranularActionConfig.BuildersetTraceType(java.lang.String traceType)Possible values are:LiveTracePacketGranularActionConfig.TRACE_TYPE_UNI_DIRECTIONALLiveTracePacketGranularActionConfig.TRACE_TYPE_BI_DIRECTIONALType of trace
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLiveTracePacketGranularActionConfig.
-
-
Method Detail
-
setDestIpsecVpnConfig
public LiveTracePacketGranularActionConfig.Builder setDestIpsecVpnConfig(PolicyLiveTraceIpsecVpnConfig destIpsecVpnConfig)
- Parameters:
destIpsecVpnConfig- New value for the property.
-
setDestPortPath
public LiveTracePacketGranularActionConfig.Builder setDestPortPath(java.lang.String destPortPath)
Policy path of logical port for the reverse direction of a livetrace session. It is required only when the trace type is bidirectional. Multiple bi-directional actions in a livetrace session should have the same port specified for the reverse direction.- Parameters:
destPortPath- New value for the property.
-
setReverseFilter
public LiveTracePacketGranularActionConfig.Builder setReverseFilter(com.vmware.vapi.bindings.Structure reverseFilter)
- Parameters:
reverseFilter- New value for the property. When clients pass a value of this class as a parameter, the property must contain all the properties defined inLiveTraceFilterData. When methods return a value of this class as a return value, the property will contain all the properties defined inLiveTraceFilterData.
-
setSampling
public LiveTracePacketGranularActionConfig.Builder setSampling(LiveTraceSamplingConfig sampling)
- Parameters:
sampling- New value for the property.
-
setTraceType
public LiveTracePacketGranularActionConfig.Builder setTraceType(java.lang.String traceType)
Possible values are: Type of trace- Parameters:
traceType- New value for the property.
-
build
public LiveTracePacketGranularActionConfig build()
-
-