final case class PriorityClass(value: Int, description: Option[String] = None, globalDefault: Option[Boolean] = None, preemptionPolicy: Option[String] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
- Source
- PriorityClass.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PriorityClass
- KObject
- Product
- Equals
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
-
val
_resourceKind: ResourceKind
- Attributes
- protected
- Definition Classes
- PriorityClass → KObject
-
final
lazy val
apiVersion: String
- Definition Classes
- KObject
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val description: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
foldTo[T](implicit arg0: Builder[T]): T
- Definition Classes
- PriorityClass → KObject
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val globalDefault: Option[Boolean]
-
final
def
group: String
- Definition Classes
- KObject
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
lazy val
kind: String
- Definition Classes
- KObject
-
def
mapDescription(f: (String) ⇒ String): PriorityClass
if description has a value, transforms to the result of function
-
def
mapGlobalDefault(f: (Boolean) ⇒ Boolean): PriorityClass
if globalDefault has a value, transforms to the result of function
-
def
mapMetadata(f: (ObjectMeta) ⇒ ObjectMeta): PriorityClass
if metadata has a value, transforms to the result of function
-
def
mapPreemptionPolicy(f: (String) ⇒ String): PriorityClass
if preemptionPolicy has a value, transforms to the result of function
-
def
mapValue(f: (Int) ⇒ Int): PriorityClass
transforms value to result of function
- val metadata: Option[ObjectMeta]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val preemptionPolicy: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val value: Int
-
final
lazy val
version: String
- Definition Classes
- KObject
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withDescription(value: String): PriorityClass
Returns a new data with description set to new value
-
def
withGlobalDefault(value: Boolean): PriorityClass
Returns a new data with globalDefault set to new value
-
def
withMetadata(value: ObjectMeta): PriorityClass
Returns a new data with metadata set to new value
-
def
withPreemptionPolicy(value: String): PriorityClass
Returns a new data with preemptionPolicy set to new value
-
def
withValue(value: Int): PriorityClass
Returns a new data with value set to new value