Package com.vmware.nsx_policy.model
Class LogicalRouterPortStatisticsPerNode.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LogicalRouterPortStatisticsPerNode.Builder
-
- Enclosing class:
- LogicalRouterPortStatisticsPerNode
public static final class LogicalRouterPortStatisticsPerNode.Builder extends java.lang.Object
Builder class forLogicalRouterPortStatisticsPerNode
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLogicalRouterPortStatisticsPerNode
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogicalRouterPortStatisticsPerNode
build()
LogicalRouterPortStatisticsPerNode.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data.LogicalRouterPortStatisticsPerNode.Builder
setRx(LogicalRouterPortCounters rx)
LogicalRouterPortStatisticsPerNode.Builder
setSubClusterId(java.lang.String subClusterId)
The subcluster ID of logical router port.LogicalRouterPortStatisticsPerNode.Builder
setTransportNodeId(java.lang.String transportNodeId)
The ID of the TransportNode This property may be present in responses from the server, but if it is present in a request to server it will be ignored.LogicalRouterPortStatisticsPerNode.Builder
setTx(LogicalRouterPortCounters tx)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLogicalRouterPortStatisticsPerNode
.
-
-
Method Detail
-
setLastUpdateTimestamp
public LogicalRouterPortStatisticsPerNode.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 LogicalRouterPortStatisticsPerNode.Builder setRx(LogicalRouterPortCounters rx)
- Parameters:
rx
- New value for the property.
-
setTx
public LogicalRouterPortStatisticsPerNode.Builder setTx(LogicalRouterPortCounters tx)
- Parameters:
tx
- New value for the property.
-
setSubClusterId
public LogicalRouterPortStatisticsPerNode.Builder setSubClusterId(java.lang.String subClusterId)
The subcluster ID of logical router port. Active-Active service router cluster forms pariwise sub cluster of nodes and syncs states among them. 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:
subClusterId
- New value for the property.
-
setTransportNodeId
public LogicalRouterPortStatisticsPerNode.Builder setTransportNodeId(java.lang.String transportNodeId)
The ID of the TransportNode 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:
transportNodeId
- New value for the property.
-
build
public LogicalRouterPortStatisticsPerNode build()
-
-