public final class ContainerCpuStatistics extends Object
| Constructor and Description |
|---|
ContainerCpuStatistics() |
| Modifier and Type | Method and Description |
|---|---|
ContainerCpuUsage |
cpuUsage()
Get the cpuUsage property: The cpuUsage property.
|
Integer |
onlineCpuCount()
Get the onlineCpuCount property: The onlineCpuCount property.
|
Long |
systemCpuUsage()
Get the systemCpuUsage property: The systemCpuUsage property.
|
ContainerThrottlingData |
throttlingData()
Get the throttlingData property: The throttlingData property.
|
void |
validate()
Validates the instance.
|
ContainerCpuStatistics |
withCpuUsage(ContainerCpuUsage cpuUsage)
Set the cpuUsage property: The cpuUsage property.
|
ContainerCpuStatistics |
withOnlineCpuCount(Integer onlineCpuCount)
Set the onlineCpuCount property: The onlineCpuCount property.
|
ContainerCpuStatistics |
withSystemCpuUsage(Long systemCpuUsage)
Set the systemCpuUsage property: The systemCpuUsage property.
|
ContainerCpuStatistics |
withThrottlingData(ContainerThrottlingData throttlingData)
Set the throttlingData property: The throttlingData property.
|
public ContainerCpuUsage cpuUsage()
public ContainerCpuStatistics withCpuUsage(ContainerCpuUsage cpuUsage)
cpuUsage - the cpuUsage value to set.public Long systemCpuUsage()
public ContainerCpuStatistics withSystemCpuUsage(Long systemCpuUsage)
systemCpuUsage - the systemCpuUsage value to set.public Integer onlineCpuCount()
public ContainerCpuStatistics withOnlineCpuCount(Integer onlineCpuCount)
onlineCpuCount - the onlineCpuCount value to set.public ContainerThrottlingData throttlingData()
public ContainerCpuStatistics withThrottlingData(ContainerThrottlingData throttlingData)
throttlingData - the throttlingData value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.