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
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val parametersRef: Option[ResourceClaimParametersReference]
- val resourceClassName: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
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