Class Quota

java.lang.Object
com.yahoo.config.model.api.Quota

public class Quota extends Object
Quota for the application deployed. If the application exceeds this quota, deployment will fail.
Author:
ogronnesby
  • Constructor Details

  • Method Details

    • fromSlime

      public static Quota fromSlime(com.yahoo.slime.Inspector inspector)
    • withBudget

      public Quota withBudget(BigDecimal budget)
    • withClusterSize

      public Quota withClusterSize(int clusterSize)
    • toSlime

      public com.yahoo.slime.Slime toSlime()
    • unlimited

      public static Quota unlimited()
    • maxClusterSize

      public Optional<Integer> maxClusterSize()
    • budgetAsDecimal

      public Optional<BigDecimal> budgetAsDecimal()
    • budget

      public Optional<Integer> budget()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object