final case class MetricTarget(type: String, averageUtilization: Option[Int] = None, averageValue: Option[Quantity] = None, value: Option[Quantity] = None) extends Product with Serializable
MetricTarget defines the target value, average value, or average utilization of a specific metric
- Source
- MetricTarget.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MetricTarget
- Serializable
- Serializable
- Product
- Equals
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val averageUtilization: Option[Int]
- val averageValue: Option[Quantity]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapAverageUtilization(f: (Int) ⇒ Int): MetricTarget
if averageUtilization has a value, transforms to the result of function
-
def
mapAverageValue(f: (Quantity) ⇒ Quantity): MetricTarget
if averageValue has a value, transforms to the result of function
-
def
mapType(f: (String) ⇒ String): MetricTarget
transforms
type
to result of function -
def
mapValue(f: (Quantity) ⇒ Quantity): MetricTarget
if value 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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val type: String
- val value: Option[Quantity]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
-
def
withAverageUtilization(value: Int): MetricTarget
Returns a new data with averageUtilization set to new value
-
def
withAverageValue(value: Quantity): MetricTarget
Returns a new data with averageValue set to new value
-
def
withType(value: String): MetricTarget
Returns a new data with
type
set to new value -
def
withValue(value: Quantity): MetricTarget
Returns a new data with value set to new value