Class ContainerMemoryStatistics
java.lang.Object
com.azure.resourcemanager.appservice.models.ContainerMemoryStatistics
The ContainerMemoryStatistics model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlimit()
Get the limit property: The limit property.maxUsage()
Get the maxUsage property: The maxUsage property.usage()
Get the usage property: The usage property.void
validate()
Validates the instance.Set the limit property: The limit property.withMaxUsage
(Long maxUsage) Set the maxUsage property: The maxUsage property.Set the usage property: The usage property.
-
Constructor Details
-
ContainerMemoryStatistics
public ContainerMemoryStatistics()
-
-
Method Details
-
usage
Get the usage property: The usage property.- Returns:
- the usage value.
-
withUsage
Set the usage property: The usage property.- Parameters:
usage
- the usage value to set.- Returns:
- the ContainerMemoryStatistics object itself.
-
maxUsage
Get the maxUsage property: The maxUsage property.- Returns:
- the maxUsage value.
-
withMaxUsage
Set the maxUsage property: The maxUsage property.- Parameters:
maxUsage
- the maxUsage value to set.- Returns:
- the ContainerMemoryStatistics object itself.
-
limit
Get the limit property: The limit property.- Returns:
- the limit value.
-
withLimit
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.
-