Packages

final case class ResourceQuotaSpec(hard: Option[Map[String, Quantity]] = None, scopeSelector: Option[ScopeSelector] = None, scopes: Option[Seq[String]] = None) extends Product with Serializable

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

Source
ResourceQuotaSpec.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceQuotaSpec
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ResourceQuotaSpec(hard: Option[Map[String, Quantity]] = None, scopeSelector: Option[ScopeSelector] = None, scopes: Option[Seq[String]] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addHard(newValues: (String, Quantity)*): ResourceQuotaSpec

    Adds new values to hard

  5. def addScopes(newValues: String*): ResourceQuotaSpec

    Appends new values to scopes

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. val hard: Option[Map[String, Quantity]]
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def mapHard(f: (Map[String, Quantity]) => Map[String, Quantity]): ResourceQuotaSpec

    if hard has a value, transforms to the result of function

  14. def mapScopeSelector(f: (ScopeSelector) => ScopeSelector): ResourceQuotaSpec

    if scopeSelector has a value, transforms to the result of function

  15. def mapScopes(f: (Seq[String]) => Seq[String]): ResourceQuotaSpec

    if scopes has a value, transforms to the result of function

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. val scopeSelector: Option[ScopeSelector]
  21. val scopes: Option[Seq[String]]
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. def withHard(value: Map[String, Quantity]): ResourceQuotaSpec

    Returns a new data with hard set to new value

  27. def withScopeSelector(value: ScopeSelector): ResourceQuotaSpec

    Returns a new data with scopeSelector set to new value

  28. def withScopes(value: Seq[String]): ResourceQuotaSpec

    Returns a new data with scopes set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped