Package org.cdk8s.plus25
Class PercentOrAbsolute
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.PercentOrAbsolute
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.374Z") @Stability(Stable) public class PercentOrAbsolute extends software.amazon.jsii.JsiiObject
Union like class repsenting either a ration in percents or an absolute number.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPercentOrAbsolute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedPercentOrAbsolute(software.amazon.jsii.JsiiObjectRef objRef)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PercentOrAbsoluteabsolute(Number num)Absolute number.ObjectgetValue()BooleanisZero()static PercentOrAbsolutepercent(Number percent)Percent ratio.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Method Detail
-
absolute
@Stability(Stable) @NotNull public static PercentOrAbsolute absolute(@NotNull Number num)
Absolute number.- Parameters:
num- This parameter is required.
-
percent
@Stability(Stable) @NotNull public static PercentOrAbsolute percent(@NotNull Number percent)
Percent ratio.- Parameters:
percent- This parameter is required.
-
isZero
@Stability(Stable) @NotNull public Boolean isZero()
-
getValue
@Stability(Stable) @NotNull public Object getValue()
-
-