Class ContainerCpuStatistics
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.ContainerCpuStatistics
-
public final class ContainerCpuStatistics extends Object
The ContainerCpuStatistics model.
-
-
Constructor Summary
Constructors Constructor Description ContainerCpuStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerCpuUsagecpuUsage()Get the cpuUsage property: The cpuUsage property.IntegeronlineCpuCount()Get the onlineCpuCount property: The onlineCpuCount property.LongsystemCpuUsage()Get the systemCpuUsage property: The systemCpuUsage property.ContainerThrottlingDatathrottlingData()Get the throttlingData property: The throttlingData property.voidvalidate()Validates the instance.ContainerCpuStatisticswithCpuUsage(ContainerCpuUsage cpuUsage)Set the cpuUsage property: The cpuUsage property.ContainerCpuStatisticswithOnlineCpuCount(Integer onlineCpuCount)Set the onlineCpuCount property: The onlineCpuCount property.ContainerCpuStatisticswithSystemCpuUsage(Long systemCpuUsage)Set the systemCpuUsage property: The systemCpuUsage property.ContainerCpuStatisticswithThrottlingData(ContainerThrottlingData throttlingData)Set the throttlingData property: The throttlingData property.
-
-
-
Method Detail
-
cpuUsage
public ContainerCpuUsage cpuUsage()
Get the cpuUsage property: The cpuUsage property.- Returns:
- the cpuUsage value.
-
withCpuUsage
public ContainerCpuStatistics withCpuUsage(ContainerCpuUsage cpuUsage)
Set the cpuUsage property: The cpuUsage property.- Parameters:
cpuUsage- the cpuUsage value to set.- Returns:
- the ContainerCpuStatistics object itself.
-
systemCpuUsage
public Long systemCpuUsage()
Get the systemCpuUsage property: The systemCpuUsage property.- Returns:
- the systemCpuUsage value.
-
withSystemCpuUsage
public ContainerCpuStatistics withSystemCpuUsage(Long systemCpuUsage)
Set the systemCpuUsage property: The systemCpuUsage property.- Parameters:
systemCpuUsage- the systemCpuUsage value to set.- Returns:
- the ContainerCpuStatistics object itself.
-
onlineCpuCount
public Integer onlineCpuCount()
Get the onlineCpuCount property: The onlineCpuCount property.- Returns:
- the onlineCpuCount value.
-
withOnlineCpuCount
public ContainerCpuStatistics withOnlineCpuCount(Integer onlineCpuCount)
Set the onlineCpuCount property: The onlineCpuCount property.- Parameters:
onlineCpuCount- the onlineCpuCount value to set.- Returns:
- the ContainerCpuStatistics object itself.
-
throttlingData
public ContainerThrottlingData throttlingData()
Get the throttlingData property: The throttlingData property.- Returns:
- the throttlingData value.
-
withThrottlingData
public ContainerCpuStatistics withThrottlingData(ContainerThrottlingData throttlingData)
Set the throttlingData property: The throttlingData property.- Parameters:
throttlingData- the throttlingData value to set.- Returns:
- the ContainerCpuStatistics object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-