Package com.vmware.nsx_policy.model
Class TraceActionArgument.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TraceActionArgument.Builder
-
- Enclosing class:
- TraceActionArgument
public static final class TraceActionArgument.Builder extends java.lang.ObjectBuilder class forTraceActionArgument.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofTraceActionArgument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TraceActionArgumentbuild()TraceActionArgument.BuildersetDestIpsecVpnConfig(LiveTraceIpsecVpnConfig destIpsecVpnConfig)TraceActionArgument.BuildersetDestLport(java.lang.String destLport)It is required only when the type of trace is bidirectional.TraceActionArgument.BuildersetReverseFilter(com.vmware.vapi.bindings.Structure reverseFilter)TraceActionArgument.BuildersetTraceType(java.lang.String traceType)Possible values are:TraceActionArgument.TRACE_TYPE_UNI_DIRECTIONALTraceActionArgument.TRACE_TYPE_BI_DIRECTIONALType of 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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTraceActionArgument.
-
-
Method Detail
-
setDestIpsecVpnConfig
public TraceActionArgument.Builder setDestIpsecVpnConfig(LiveTraceIpsecVpnConfig destIpsecVpnConfig)
- Parameters:
destIpsecVpnConfig- New value for the property.
-
setDestLport
public TraceActionArgument.Builder setDestLport(java.lang.String destLport)
It is required only when the type of trace is bidirectional. Please keep this field aligned with the destination logical port of count action and packet capture action config when the type of count action and packet capture action is bidirectional. 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:
destLport- New value for the property.
-
setReverseFilter
public TraceActionArgument.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.
-
setTraceType
public TraceActionArgument.Builder setTraceType(java.lang.String traceType)
Possible values are: Type of 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:
traceType- New value for the property.
-
build
public TraceActionArgument build()
-
-