Package com.vmware.nsx_policy.model
Class DatapathStatsActionArgument.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DatapathStatsActionArgument.Builder
-
- Enclosing class:
- DatapathStatsActionArgument
public static final class DatapathStatsActionArgument.Builder extends java.lang.ObjectBuilder class forDatapathStatsActionArgument.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofDatapathStatsActionArgument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatapathStatsActionArgumentbuild()DatapathStatsActionArgument.BuildersetDatapathStatsType(java.lang.String datapathStatsType)Possible values are:DatapathStatsActionArgument.DATAPATH_STATS_TYPE_UNI_DIRECTIONALDatapathStatsActionArgument.DATAPATH_STATS_TYPE_BI_DIRECTIONALType of datapath statistics action.DatapathStatsActionArgument.BuildersetDestLport(java.lang.String destLport)It is required only when the type of datapath statistics action is bidirectional.DatapathStatsActionArgument.BuildersetReverseFilter(com.vmware.vapi.bindings.Structure reverseFilter)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDatapathStatsActionArgument.
-
-
Method Detail
-
setDatapathStatsType
public DatapathStatsActionArgument.Builder setDatapathStatsType(java.lang.String datapathStatsType)
Possible values are: Type of datapath statistics action. UNI_DIRECTIONAL - Perform the datapath statistics action for the traffic ingressed from the source logical port. BI_DIRECTIONAL - Perform the datapath statistics action for the traffic ingressed from the source logical port and the destination logical port, respectively. 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:
datapathStatsType- New value for the property.
-
setDestLport
public DatapathStatsActionArgument.Builder setDestLport(java.lang.String destLport)
It is required only when the type of datapath statistics 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 DatapathStatsActionArgument.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 DatapathStatsActionArgument build()
-
-