Package com.vmware.nsx_policy.model
Class LogicalPortStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LogicalPortStatistics.Builder
-
- Enclosing class:
- LogicalPortStatistics
public static final class LogicalPortStatistics.Builder extends java.lang.Object
Builder class forLogicalPortStatistics
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLogicalPortStatistics
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLogicalPortStatistics
.
-
-
Method Detail
-
setRxBytes
public LogicalPortStatistics.Builder setRxBytes(DataCounter rxBytes)
- Parameters:
rxBytes
- New value for the property.
-
setRxPackets
public LogicalPortStatistics.Builder setRxPackets(DataCounter rxPackets)
- Parameters:
rxPackets
- New value for the property.
-
setTxBytes
public LogicalPortStatistics.Builder setTxBytes(DataCounter txBytes)
- Parameters:
txBytes
- New value for the property.
-
setTxPackets
public LogicalPortStatistics.Builder setTxPackets(DataCounter txPackets)
- Parameters:
txPackets
- New value for the property.
-
setDroppedByFirewallPackets
public LogicalPortStatistics.Builder setDroppedByFirewallPackets(DfwDropCounters droppedByFirewallPackets)
- Parameters:
droppedByFirewallPackets
- New value for the property.
-
setDroppedBySecurityPackets
public LogicalPortStatistics.Builder setDroppedBySecurityPackets(PacketsDroppedBySecurity droppedBySecurityPackets)
- Parameters:
droppedBySecurityPackets
- New value for the property.
-
setMacLearning
public LogicalPortStatistics.Builder setMacLearning(MacLearningCounters macLearning)
- Parameters:
macLearning
- New value for the property.
-
setLastUpdateTimestamp
public LogicalPortStatistics.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.
-
setLogicalPortId
public LogicalPortStatistics.Builder setLogicalPortId(java.lang.String logicalPortId)
The id of the logical 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:
logicalPortId
- New value for the property.
-
build
public LogicalPortStatistics build()
-
-