final case class ResourceClaimSpec(resourceClassName: String, allocationMode: Option[String] = None, parametersRef: Option[ResourceClaimParametersReference] = None) extends Product with Serializable
ResourceClaimSpec defines how a resource is to be allocated.
- Source
- ResourceClaimSpec.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ResourceClaimSpec
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ResourceClaimSpec(resourceClassName: String, allocationMode: Option[String] = None, parametersRef: Option[ResourceClaimParametersReference] = None)
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 allocationMode: Option[String]
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mapAllocationMode(f: (String) => String): ResourceClaimSpec
if allocationMode has a value, transforms to the result of function
- def mapParametersRef(f: (ResourceClaimParametersReference) => ResourceClaimParametersReference): ResourceClaimSpec
if parametersRef has a value, transforms to the result of function
- def mapResourceClassName(f: (String) => String): ResourceClaimSpec
transforms resourceClassName to 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()
- val parametersRef: Option[ResourceClaimParametersReference]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val resourceClassName: 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 withAllocationMode(value: String): ResourceClaimSpec
Returns a new data with allocationMode set to new value
- def withParametersRef(value: ResourceClaimParametersReference): ResourceClaimSpec
Returns a new data with parametersRef set to new value
- def withResourceClassName(value: String): ResourceClaimSpec
Returns a new data with resourceClassName set to new value