public static class HostTopProcesses.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostTopProcesses |
build() |
HostTopProcesses.Builder |
command(String command)
Command line executed for the process
|
HostTopProcesses.Builder |
containerId(String containerId)
Container id if this process corresponds to a running container in the host
|
HostTopProcesses.Builder |
copy(HostTopProcesses model) |
HostTopProcesses.Builder |
cpuUsageInSeconds(Double cpuUsageInSeconds)
CPU usage in seconds
|
HostTopProcesses.Builder |
cpuUtilizationPercent(Double cpuUtilizationPercent)
CPU utilization percentage
|
HostTopProcesses.Builder |
diskBytesRead(Double diskBytesRead)
Bytes Read
|
HostTopProcesses.Builder |
diskBytesWritten(Double diskBytesWritten)
Bytes Written
|
HostTopProcesses.Builder |
diskIops(Double diskIops)
IO Transactions per second
|
HostTopProcesses.Builder |
diskIopsRead(Double diskIopsRead)
Read transactions per second
|
HostTopProcesses.Builder |
diskIopsWritten(Double diskIopsWritten)
Write transactions per second
|
HostTopProcesses.Builder |
memoryUtilizationPercent(Double memoryUtilizationPercent)
Memory utilization percentage
|
HostTopProcesses.Builder |
physicalMemoryInMBs(Double physicalMemoryInMBs)
Physical memory in megabytes
|
HostTopProcesses.Builder |
pid(BigDecimal pid)
process id
|
HostTopProcesses.Builder |
startTime(Date startTime)
Process Start Time Example:
"2020-03-31T00:00:00.000Z" |
HostTopProcesses.Builder |
timeCollected(Date timeCollected) |
HostTopProcesses.Builder |
totalProcesses(BigDecimal totalProcesses)
Number of processes running at the time of collection
|
HostTopProcesses.Builder |
userName(String userName)
User that started the process
|
HostTopProcesses.Builder |
virtualMemoryInMBs(Double virtualMemoryInMBs)
Virtual memory in megabytes
|
public HostTopProcesses.Builder timeCollected(Date timeCollected)
public HostTopProcesses.Builder pid(BigDecimal pid)
process id
pid
- the value to setpublic HostTopProcesses.Builder userName(String userName)
User that started the process
userName
- the value to setpublic HostTopProcesses.Builder memoryUtilizationPercent(Double memoryUtilizationPercent)
Memory utilization percentage
memoryUtilizationPercent
- the value to setpublic HostTopProcesses.Builder cpuUtilizationPercent(Double cpuUtilizationPercent)
CPU utilization percentage
cpuUtilizationPercent
- the value to setpublic HostTopProcesses.Builder cpuUsageInSeconds(Double cpuUsageInSeconds)
CPU usage in seconds
cpuUsageInSeconds
- the value to setpublic HostTopProcesses.Builder command(String command)
Command line executed for the process
command
- the value to setpublic HostTopProcesses.Builder virtualMemoryInMBs(Double virtualMemoryInMBs)
Virtual memory in megabytes
virtualMemoryInMBs
- the value to setpublic HostTopProcesses.Builder physicalMemoryInMBs(Double physicalMemoryInMBs)
Physical memory in megabytes
physicalMemoryInMBs
- the value to setpublic HostTopProcesses.Builder startTime(Date startTime)
Process Start Time Example: "2020-03-31T00:00:00.000Z"
startTime
- the value to setpublic HostTopProcesses.Builder totalProcesses(BigDecimal totalProcesses)
Number of processes running at the time of collection
totalProcesses
- the value to setpublic HostTopProcesses.Builder containerId(String containerId)
Container id if this process corresponds to a running container in the host
containerId
- the value to setpublic HostTopProcesses.Builder diskBytesRead(Double diskBytesRead)
Bytes Read
diskBytesRead
- the value to setpublic HostTopProcesses.Builder diskBytesWritten(Double diskBytesWritten)
Bytes Written
diskBytesWritten
- the value to setpublic HostTopProcesses.Builder diskIopsRead(Double diskIopsRead)
Read transactions per second
diskIopsRead
- the value to setpublic HostTopProcesses.Builder diskIopsWritten(Double diskIopsWritten)
Write transactions per second
diskIopsWritten
- the value to setpublic HostTopProcesses.Builder diskIops(Double diskIops)
IO Transactions per second
diskIops
- the value to setpublic HostTopProcesses build()
public HostTopProcesses.Builder copy(HostTopProcesses model)
Copyright © 2016–2024. All rights reserved.