Package com.vmware.nsx_policy.model
Class TunnelPortStatisticsPerNode.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.TunnelPortStatisticsPerNode.Builder
-
- Enclosing class:
- TunnelPortStatisticsPerNode
public static final class TunnelPortStatisticsPerNode.Builder extends java.lang.Object
Builder class forTunnelPortStatisticsPerNode
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTunnelPortStatisticsPerNode
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TunnelPortStatisticsPerNode
build()
TunnelPortStatisticsPerNode.Builder
setEdgePath(java.lang.String edgePath)
Edge node policy path This property may be present in responses from the server, but if it is present in a request to server it will be ignored.TunnelPortStatisticsPerNode.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data.TunnelPortStatisticsPerNode.Builder
setLogicalRouterPortId(java.lang.String logicalRouterPortId)
ID of the tunnel router port This property may be present in responses from the server, but if it is present in a request to server it will be ignored.TunnelPortStatisticsPerNode.Builder
setRx(LogicalRouterPortCounters rx)
TunnelPortStatisticsPerNode.Builder
setSource(java.lang.String source)
Tunnel source address format: ip This property may be present in responses from the server, but if it is present in a request to server it will be ignored.TunnelPortStatisticsPerNode.Builder
setSubClusterId(java.lang.String subClusterId)
The subcluster ID of logical router port.TunnelPortStatisticsPerNode.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.TunnelPortStatisticsPerNode.Builder
setTx(LogicalRouterPortCounters tx)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTunnelPortStatisticsPerNode
.
-
-
Method Detail
-
setLastUpdateTimestamp
public TunnelPortStatisticsPerNode.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 TunnelPortStatisticsPerNode.Builder setRx(LogicalRouterPortCounters rx)
- Parameters:
rx
- New value for the property.
-
setTx
public TunnelPortStatisticsPerNode.Builder setTx(LogicalRouterPortCounters tx)
- Parameters:
tx
- New value for the property.
-
setSubClusterId
public TunnelPortStatisticsPerNode.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 TunnelPortStatisticsPerNode.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.
-
setEdgePath
public TunnelPortStatisticsPerNode.Builder setEdgePath(java.lang.String edgePath)
Edge node policy path 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:
edgePath
- New value for the property.
-
setLogicalRouterPortId
public TunnelPortStatisticsPerNode.Builder setLogicalRouterPortId(java.lang.String logicalRouterPortId)
ID of the tunnel router port 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:
logicalRouterPortId
- New value for the property.
-
setSource
public TunnelPortStatisticsPerNode.Builder setSource(java.lang.String source)
Tunnel source address format: ip 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:
source
- New value for the property.
-
build
public TunnelPortStatisticsPerNode build()
-
-