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