Package com.vmware.nsx_policy.model
Class BridgeEndpointStatistics.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.BridgeEndpointStatistics.Builder
-
- Enclosing class:
- BridgeEndpointStatistics
public static final class BridgeEndpointStatistics.Builder extends java.lang.ObjectBuilder class forBridgeEndpointStatistics.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofBridgeEndpointStatistics.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BridgeEndpointStatisticsbuild()BridgeEndpointStatistics.BuildersetEndpointId(java.lang.String endpointId)The id of the bridge endpoint This property may be present in responses from the server, but if it is present in a request to server it will be ignored.BridgeEndpointStatistics.BuildersetLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)Timestamp when the data was last updated; unset if data source has never updated the data.BridgeEndpointStatistics.BuildersetRxBytes(DataCounter rxBytes)BridgeEndpointStatistics.BuildersetRxPackets(DataCounter rxPackets)BridgeEndpointStatistics.BuildersetTxBytes(DataCounter txBytes)BridgeEndpointStatistics.BuildersetTxPackets(DataCounter txPackets)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofBridgeEndpointStatistics.
-
-
Method Detail
-
setRxBytes
public BridgeEndpointStatistics.Builder setRxBytes(DataCounter rxBytes)
- Parameters:
rxBytes- New value for the property.
-
setRxPackets
public BridgeEndpointStatistics.Builder setRxPackets(DataCounter rxPackets)
- Parameters:
rxPackets- New value for the property.
-
setTxBytes
public BridgeEndpointStatistics.Builder setTxBytes(DataCounter txBytes)
- Parameters:
txBytes- New value for the property.
-
setTxPackets
public BridgeEndpointStatistics.Builder setTxPackets(DataCounter txPackets)
- Parameters:
txPackets- New value for the property.
-
setEndpointId
public BridgeEndpointStatistics.Builder setEndpointId(java.lang.String endpointId)
The id of the bridge endpoint 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:
endpointId- New value for the property.
-
setLastUpdateTimestamp
public BridgeEndpointStatistics.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.
-
build
public BridgeEndpointStatistics build()
-
-