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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceQuotaSpec
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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( ... ) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. val hard: Option[Map[String, Quantity]]
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def mapHard(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): ResourceQuotaSpec

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

  13. def mapScopeSelector(f: (ScopeSelector) ⇒ ScopeSelector): ResourceQuotaSpec

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

  14. def mapScopes(f: (Seq[String]) ⇒ Seq[String]): ResourceQuotaSpec

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

  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. val scopeSelector: Option[ScopeSelector]
  19. val scopes: Option[Seq[String]]
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def withHard(value: Map[String, Quantity]): ResourceQuotaSpec

    Returns a new data with hard set to new value

  25. def withScopeSelector(value: ScopeSelector): ResourceQuotaSpec

    Returns a new data with scopeSelector set to new value

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

    Returns a new data with scopes set to new value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped