Class ContainerMemoryStatistics
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.ContainerMemoryStatistics
-
public final class ContainerMemoryStatistics extends Object
The ContainerMemoryStatistics model.
-
-
Constructor Summary
Constructors Constructor Description ContainerMemoryStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Longlimit()Get the limit property: The limit property.LongmaxUsage()Get the maxUsage property: The maxUsage property.Longusage()Get the usage property: The usage property.voidvalidate()Validates the instance.ContainerMemoryStatisticswithLimit(Long limit)Set the limit property: The limit property.ContainerMemoryStatisticswithMaxUsage(Long maxUsage)Set the maxUsage property: The maxUsage property.ContainerMemoryStatisticswithUsage(Long usage)Set the usage property: The usage property.
-
-
-
Method Detail
-
usage
public Long usage()
Get the usage property: The usage property.- Returns:
- the usage value.
-
withUsage
public ContainerMemoryStatistics withUsage(Long usage)
Set the usage property: The usage property.- Parameters:
usage- the usage value to set.- Returns:
- the ContainerMemoryStatistics object itself.
-
maxUsage
public Long maxUsage()
Get the maxUsage property: The maxUsage property.- Returns:
- the maxUsage value.
-
withMaxUsage
public ContainerMemoryStatistics withMaxUsage(Long maxUsage)
Set the maxUsage property: The maxUsage property.- Parameters:
maxUsage- the maxUsage value to set.- Returns:
- the ContainerMemoryStatistics object itself.
-
limit
public Long limit()
Get the limit property: The limit property.- Returns:
- the limit value.
-
withLimit
public ContainerMemoryStatistics withLimit(Long limit)
Set the limit property: The limit property.- Parameters:
limit- the limit value to set.- Returns:
- the ContainerMemoryStatistics object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-