Package com.vmware.nsx_policy.model
Class DatapathStatsResult.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DatapathStatsResult.Builder
-
- Enclosing class:
- DatapathStatsResult
public static final class DatapathStatsResult.Builder extends java.lang.Object
Builder class forDatapathStatsResult
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDatapathStatsResult
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatapathStatsResult
build()
DatapathStatsResult.Builder
setDirection(java.lang.String direction)
Possible values are:DatapathStatsResult.DIRECTION_FORWARD
DatapathStatsResult.DIRECTION_REVERSE
Direction of datapath statistics action result This property may be present in responses from the server, but if it is present in a request to server it will be ignored.DatapathStatsResult.Builder
setTransportNodeDatapathStats(java.util.List<TransportNodeDatapathStats> transportNodeDatapathStats)
The datapath statistics for transport nodes.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDatapathStatsResult
.
-
-
Method Detail
-
setDirection
public DatapathStatsResult.Builder setDirection(java.lang.String direction)
Possible values are: Direction of datapath statistics action result 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:
direction
- New value for the property.
-
setTransportNodeDatapathStats
public DatapathStatsResult.Builder setTransportNodeDatapathStats(java.util.List<TransportNodeDatapathStats> transportNodeDatapathStats)
The datapath statistics for transport nodes. 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:
transportNodeDatapathStats
- New value for the property.
-
build
public DatapathStatsResult build()
-
-