Package com.vmware.nsx_policy.model
Class LogicalRouterPortStatisticsSummary.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LogicalRouterPortStatisticsSummary.Builder
-
- Enclosing class:
- LogicalRouterPortStatisticsSummary
public static final class LogicalRouterPortStatisticsSummary.Builder extends java.lang.Object
Builder class forLogicalRouterPortStatisticsSummary
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLogicalRouterPortStatisticsSummary
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogicalRouterPortStatisticsSummary
build()
LogicalRouterPortStatisticsSummary.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data.LogicalRouterPortStatisticsSummary.Builder
setLogicalRouterPortId(java.lang.String logicalRouterPortId)
The ID of the logical router portLogicalRouterPortStatisticsSummary.Builder
setRx(LogicalRouterPortCounters rx)
LogicalRouterPortStatisticsSummary.Builder
setTx(LogicalRouterPortCounters tx)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLogicalRouterPortStatisticsSummary
.
-
-
Method Detail
-
setLastUpdateTimestamp
public LogicalRouterPortStatisticsSummary.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data. format: int64 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:
lastUpdateTimestamp
- New value for the property.
-
setRx
public LogicalRouterPortStatisticsSummary.Builder setRx(LogicalRouterPortCounters rx)
- Parameters:
rx
- New value for the property.
-
setTx
public LogicalRouterPortStatisticsSummary.Builder setTx(LogicalRouterPortCounters tx)
- Parameters:
tx
- New value for the property.
-
setLogicalRouterPortId
public LogicalRouterPortStatisticsSummary.Builder setLogicalRouterPortId(java.lang.String logicalRouterPortId)
The ID of the logical router port- Parameters:
logicalRouterPortId
- New value for the property.
-
build
public LogicalRouterPortStatisticsSummary build()
-
-