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
- Alphabetic
- By Inheritance
Inherited
- ResourceQuotaSpec
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addHard(newValues: (String, Quantity)*): ResourceQuotaSpec
Adds new values to hard
- def addScopes(newValues: String*): ResourceQuotaSpec
Appends new values to scopes
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hard: Option[Map[String, Quantity]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapHard(f: (Map[String, Quantity]) => Map[String, Quantity]): ResourceQuotaSpec
if hard has a value, transforms to the result of function
- def mapScopeSelector(f: (ScopeSelector) => ScopeSelector): ResourceQuotaSpec
if scopeSelector has a value, transforms to the result of function
- def mapScopes(f: (Seq[String]) => Seq[String]): ResourceQuotaSpec
if scopes has a value, transforms to the result of function
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val scopeSelector: Option[ScopeSelector]
- val scopes: Option[Seq[String]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withHard(value: Map[String, Quantity]): ResourceQuotaSpec
Returns a new data with hard set to new value
- def withScopeSelector(value: ScopeSelector): ResourceQuotaSpec
Returns a new data with scopeSelector set to new value
- def withScopes(value: Seq[String]): ResourceQuotaSpec
Returns a new data with scopes set to new value