public static class TopProcessesUsageTrend.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TopProcessesUsageTrend |
build() |
TopProcessesUsageTrend.Builder |
containerId(String containerId)
Container id if this process corresponds to a running container in the host.
|
TopProcessesUsageTrend.Builder |
copy(TopProcessesUsageTrend model) |
TopProcessesUsageTrend.Builder |
cpuUsage(Double cpuUsage)
Process CPU usage.
|
TopProcessesUsageTrend.Builder |
cpuUtilization(Double cpuUtilization)
Process CPU utilization percentage
|
TopProcessesUsageTrend.Builder |
endTimestamp(Date endTimestamp)
The timestamp in which the current sampling period ends in RFC 3339 format.
|
TopProcessesUsageTrend.Builder |
maxProcessCount(Integer maxProcessCount)
Maximum number of processes running at time of collection
|
TopProcessesUsageTrend.Builder |
memoryUtilization(Double memoryUtilization)
Process memory utilization percentage
|
TopProcessesUsageTrend.Builder |
physicalMemoryInMBs(Double physicalMemoryInMBs)
Procress physical memory in Megabytes
|
TopProcessesUsageTrend.Builder |
virtualMemoryInMBs(Double virtualMemoryInMBs)
Process virtual memory in Megabytes
|
public TopProcessesUsageTrend.Builder endTimestamp(Date endTimestamp)
The timestamp in which the current sampling period ends in RFC 3339 format.
endTimestamp
- the value to setpublic TopProcessesUsageTrend.Builder containerId(String containerId)
Container id if this process corresponds to a running container in the host.
containerId
- the value to setpublic TopProcessesUsageTrend.Builder cpuUsage(Double cpuUsage)
Process CPU usage.
cpuUsage
- the value to setpublic TopProcessesUsageTrend.Builder cpuUtilization(Double cpuUtilization)
Process CPU utilization percentage
cpuUtilization
- the value to setpublic TopProcessesUsageTrend.Builder memoryUtilization(Double memoryUtilization)
Process memory utilization percentage
memoryUtilization
- the value to setpublic TopProcessesUsageTrend.Builder virtualMemoryInMBs(Double virtualMemoryInMBs)
Process virtual memory in Megabytes
virtualMemoryInMBs
- the value to setpublic TopProcessesUsageTrend.Builder physicalMemoryInMBs(Double physicalMemoryInMBs)
Procress physical memory in Megabytes
physicalMemoryInMBs
- the value to setpublic TopProcessesUsageTrend.Builder maxProcessCount(Integer maxProcessCount)
Maximum number of processes running at time of collection
maxProcessCount
- the value to setpublic TopProcessesUsageTrend build()
public TopProcessesUsageTrend.Builder copy(TopProcessesUsageTrend model)
Copyright © 2016–2024. All rights reserved.