Package com.vmware.nsx_policy.model
Class SegmentCrossSiteTrafficStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SegmentCrossSiteTrafficStats.Builder
-
- Enclosing class:
- SegmentCrossSiteTrafficStats
public static final class SegmentCrossSiteTrafficStats.Builder extends java.lang.Object
Builder class forSegmentCrossSiteTrafficStats
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSegmentCrossSiteTrafficStats
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SegmentCrossSiteTrafficStats
build()
SegmentCrossSiteTrafficStats.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the l2 forwarder statistics was last updated.SegmentCrossSiteTrafficStats.Builder
setRxStats(InterSitePortCounters rxStats)
SegmentCrossSiteTrafficStats.Builder
setSegmentPath(java.lang.String segmentPath)
Policy path of Segment to attach interface.SegmentCrossSiteTrafficStats.Builder
setTxStats(InterSitePortCounters txStats)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSegmentCrossSiteTrafficStats
.
-
-
Method Detail
-
setLastUpdateTimestamp
public SegmentCrossSiteTrafficStats.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the l2 forwarder statistics was last updated. 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.
-
setRxStats
public SegmentCrossSiteTrafficStats.Builder setRxStats(InterSitePortCounters rxStats)
- Parameters:
rxStats
- New value for the property.
-
setSegmentPath
public SegmentCrossSiteTrafficStats.Builder setSegmentPath(java.lang.String segmentPath)
Policy path of Segment to attach interface. 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:
segmentPath
- New value for the property.
-
setTxStats
public SegmentCrossSiteTrafficStats.Builder setTxStats(InterSitePortCounters txStats)
- Parameters:
txStats
- New value for the property.
-
build
public SegmentCrossSiteTrafficStats build()
-
-