public static class TopProcessesUsage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TopProcessesUsage |
build() |
TopProcessesUsage.Builder |
command(String command)
Command line and arguments used to launch process.
|
TopProcessesUsage.Builder |
containerId(String containerId)
Container id if this process corresponds to a running container in the host.
|
TopProcessesUsage.Builder |
copy(TopProcessesUsage model) |
TopProcessesUsage.Builder |
cpuUsage(Double cpuUsage)
Process CPU usage.
|
TopProcessesUsage.Builder |
cpuUtilization(Double cpuUtilization)
Process CPU utilization percentage.
|
TopProcessesUsage.Builder |
maxProcessCount(Integer maxProcessCount)
Maximum number of processes running at time of collection.
|
TopProcessesUsage.Builder |
memoryUtilization(Double memoryUtilization)
Process memory utilization percentage.
|
TopProcessesUsage.Builder |
physicalMemoryInMBs(Double physicalMemoryInMBs)
Procress physical memory in Megabytes.
|
TopProcessesUsage.Builder |
processHash(String processHash)
Unique identifier for a process.
|
TopProcessesUsage.Builder |
virtualMemoryInMBs(Double virtualMemoryInMBs)
Process virtual memory in Megabytes.
|
public TopProcessesUsage.Builder command(String command)
Command line and arguments used to launch process.
command
- the value to setpublic TopProcessesUsage.Builder containerId(String containerId)
Container id if this process corresponds to a running container in the host.
containerId
- the value to setpublic TopProcessesUsage.Builder processHash(String processHash)
Unique identifier for a process.
processHash
- the value to setpublic TopProcessesUsage.Builder cpuUsage(Double cpuUsage)
Process CPU usage.
cpuUsage
- the value to setpublic TopProcessesUsage.Builder cpuUtilization(Double cpuUtilization)
Process CPU utilization percentage.
cpuUtilization
- the value to setpublic TopProcessesUsage.Builder memoryUtilization(Double memoryUtilization)
Process memory utilization percentage.
memoryUtilization
- the value to setpublic TopProcessesUsage.Builder virtualMemoryInMBs(Double virtualMemoryInMBs)
Process virtual memory in Megabytes.
virtualMemoryInMBs
- the value to setpublic TopProcessesUsage.Builder physicalMemoryInMBs(Double physicalMemoryInMBs)
Procress physical memory in Megabytes.
physicalMemoryInMBs
- the value to setpublic TopProcessesUsage.Builder maxProcessCount(Integer maxProcessCount)
Maximum number of processes running at time of collection.
maxProcessCount
- the value to setpublic TopProcessesUsage build()
public TopProcessesUsage.Builder copy(TopProcessesUsage model)
Copyright © 2016–2024. All rights reserved.