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.Object
Builder 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 BridgeEndpointStatistics
build()
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.BridgeEndpointStatistics.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data.BridgeEndpointStatistics.Builder
setRxBytes(DataCounter rxBytes)
BridgeEndpointStatistics.Builder
setRxPackets(DataCounter rxPackets)
BridgeEndpointStatistics.Builder
setTxBytes(DataCounter txBytes)
BridgeEndpointStatistics.Builder
setTxPackets(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()
-
-