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