public final class ContainerCpuUsage extends Object
| Constructor and Description |
|---|
ContainerCpuUsage() |
| Modifier and Type | Method and Description |
|---|---|
Long |
kernelModeUsage()
Get the kernelModeUsage property: The kernelModeUsage property.
|
List<Long> |
perCpuUsage()
Get the perCpuUsage property: The perCpuUsage property.
|
Long |
totalUsage()
Get the totalUsage property: The totalUsage property.
|
Long |
userModeUsage()
Get the userModeUsage property: The userModeUsage property.
|
void |
validate()
Validates the instance.
|
ContainerCpuUsage |
withKernelModeUsage(Long kernelModeUsage)
Set the kernelModeUsage property: The kernelModeUsage property.
|
ContainerCpuUsage |
withPerCpuUsage(List<Long> perCpuUsage)
Set the perCpuUsage property: The perCpuUsage property.
|
ContainerCpuUsage |
withTotalUsage(Long totalUsage)
Set the totalUsage property: The totalUsage property.
|
ContainerCpuUsage |
withUserModeUsage(Long userModeUsage)
Set the userModeUsage property: The userModeUsage property.
|
public Long totalUsage()
public ContainerCpuUsage withTotalUsage(Long totalUsage)
totalUsage - the totalUsage value to set.public List<Long> perCpuUsage()
public ContainerCpuUsage withPerCpuUsage(List<Long> perCpuUsage)
perCpuUsage - the perCpuUsage value to set.public Long kernelModeUsage()
public ContainerCpuUsage withKernelModeUsage(Long kernelModeUsage)
kernelModeUsage - the kernelModeUsage value to set.public Long userModeUsage()
public ContainerCpuUsage withUserModeUsage(Long userModeUsage)
userModeUsage - the userModeUsage value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.