Package com.vmware.nsx_policy.model
Class PlatformCpuUsageMonitorStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PlatformCpuUsageMonitorStats.Builder
-
- Enclosing class:
- PlatformCpuUsageMonitorStats
public static final class PlatformCpuUsageMonitorStats.Builder extends java.lang.Object
Builder class forPlatformCpuUsageMonitorStats
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPlatformCpuUsageMonitorStats
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformCpuUsageMonitorStats
build()
PlatformCpuUsageMonitorStats.Builder
setHostNetThreadAll(PlatformNetworkThreadCpuStats hostNetThreadAll)
PlatformCpuUsageMonitorStats.Builder
setHostPcpu(PlatformCpuStats hostPcpu)
PlatformCpuUsageMonitorStats.Builder
setHostVcpu(PlatformCpuStats hostVcpu)
PlatformCpuUsageMonitorStats.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPlatformCpuUsageMonitorStats
.
-
-
Method Detail
-
setHostNetThreadAll
public PlatformCpuUsageMonitorStats.Builder setHostNetThreadAll(PlatformNetworkThreadCpuStats hostNetThreadAll)
- Parameters:
hostNetThreadAll
- New value for the property.
-
setHostPcpu
public PlatformCpuUsageMonitorStats.Builder setHostPcpu(PlatformCpuStats hostPcpu)
- Parameters:
hostPcpu
- New value for the property.
-
setHostVcpu
public PlatformCpuUsageMonitorStats.Builder setHostVcpu(PlatformCpuStats hostVcpu)
- Parameters:
hostVcpu
- New value for the property.
-
setLastUpdateTimestamp
public PlatformCpuUsageMonitorStats.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 PlatformCpuUsageMonitorStats build()
-
-