Class ContainerMemoryStatistics

java.lang.Object
com.azure.resourcemanager.appservice.models.ContainerMemoryStatistics

public final class ContainerMemoryStatistics extends Object
The ContainerMemoryStatistics model.
  • Constructor Details

    • ContainerMemoryStatistics

      public ContainerMemoryStatistics()
  • Method Details

    • 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.