Package com.vmware.nsx_policy.model
Class PktcapActionArgument.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PktcapActionArgument.Builder
-
- Enclosing class:
- PktcapActionArgument
public static final class PktcapActionArgument.Builder extends java.lang.Object
Builder class forPktcapActionArgument
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPktcapActionArgument
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PktcapActionArgument
build()
PktcapActionArgument.Builder
setDestLport(java.lang.String destLport)
It is required only when the type of packet capture is bidirectional.PktcapActionArgument.Builder
setPktcapType(java.lang.String pktcapType)
Possible values are:PktcapActionArgument.PKTCAP_TYPE_UNI_DIRECTIONAL
PktcapActionArgument.PKTCAP_TYPE_BI_DIRECTIONAL
Type of packet capture This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PktcapActionArgument.Builder
setReverseFilter(com.vmware.vapi.bindings.Structure reverseFilter)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPktcapActionArgument
.
-
-
Method Detail
-
setDestLport
public PktcapActionArgument.Builder setDestLport(java.lang.String destLport)
It is required only when the type of packet capture is bidirectional. Please keep this aligned with the destination logical port of count action and trace action config when the type of count action trace 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.
-
setPktcapType
public PktcapActionArgument.Builder setPktcapType(java.lang.String pktcapType)
Possible values are: Type of packet capture 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:
pktcapType
- New value for the property.
-
setReverseFilter
public PktcapActionArgument.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
.
-
build
public PktcapActionArgument build()
-
-