public static class HostCpuUsage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostCpuUsage |
build() |
HostCpuUsage.Builder |
copy(HostCpuUsage model) |
HostCpuUsage.Builder |
cpuIdleInPercent(Float cpuIdleInPercent)
Amount of CPU idle time in percentage
|
HostCpuUsage.Builder |
cpuLoad15min(Float cpuLoad15min)
Load average in the last 15 minutes
|
HostCpuUsage.Builder |
cpuLoad1min(Float cpuLoad1min)
Load average in the last 1 minute
|
HostCpuUsage.Builder |
cpuLoad5min(Float cpuLoad5min)
Load average in the last 5 minutes
|
HostCpuUsage.Builder |
cpuStolenInPercent(Float cpuStolenInPercent)
Amount of CPU time stolen in percentage
|
HostCpuUsage.Builder |
cpuSystemModeInPercent(Float cpuSystemModeInPercent)
Percentage of CPU time spent in system mode
|
HostCpuUsage.Builder |
cpuUsageInSec(Double cpuUsageInSec)
Amount of CPU Time spent in seconds
|
HostCpuUsage.Builder |
cpuUserModeInPercent(Float cpuUserModeInPercent)
Percentage of CPU time spent in user mode
|
HostCpuUsage.Builder |
cpuUtilizationInPercent(Float cpuUtilizationInPercent)
Amount of CPU Time spent in percentage
|
HostCpuUsage.Builder |
timeCollected(Date timeCollected) |
public HostCpuUsage.Builder timeCollected(Date timeCollected)
public HostCpuUsage.Builder cpuUserModeInPercent(Float cpuUserModeInPercent)
Percentage of CPU time spent in user mode
cpuUserModeInPercent
- the value to setpublic HostCpuUsage.Builder cpuSystemModeInPercent(Float cpuSystemModeInPercent)
Percentage of CPU time spent in system mode
cpuSystemModeInPercent
- the value to setpublic HostCpuUsage.Builder cpuUsageInSec(Double cpuUsageInSec)
Amount of CPU Time spent in seconds
cpuUsageInSec
- the value to setpublic HostCpuUsage.Builder cpuUtilizationInPercent(Float cpuUtilizationInPercent)
Amount of CPU Time spent in percentage
cpuUtilizationInPercent
- the value to setpublic HostCpuUsage.Builder cpuStolenInPercent(Float cpuStolenInPercent)
Amount of CPU time stolen in percentage
cpuStolenInPercent
- the value to setpublic HostCpuUsage.Builder cpuIdleInPercent(Float cpuIdleInPercent)
Amount of CPU idle time in percentage
cpuIdleInPercent
- the value to setpublic HostCpuUsage.Builder cpuLoad1min(Float cpuLoad1min)
Load average in the last 1 minute
cpuLoad1min
- the value to setpublic HostCpuUsage.Builder cpuLoad5min(Float cpuLoad5min)
Load average in the last 5 minutes
cpuLoad5min
- the value to setpublic HostCpuUsage.Builder cpuLoad15min(Float cpuLoad15min)
Load average in the last 15 minutes
cpuLoad15min
- the value to setpublic HostCpuUsage build()
public HostCpuUsage.Builder copy(HostCpuUsage model)
Copyright © 2016–2024. All rights reserved.