Class TableThreshold
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.TableThreshold
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:16.670Z")
@Stability(Stable)
public class TableThreshold
extends software.amazon.jsii.JsiiObject
Thresholds for highlighting cells in TableWidget.
Example:
Dashboard dashboard;
dashboard.addWidgets(TableWidget.Builder.create()
// ...
.thresholds(List.of(TableThreshold.above(1000, Color.RED), TableThreshold.between(500, 1000, Color.ORANGE), TableThreshold.below(500, Color.GREEN)))
.build());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTableThreshold(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedTableThreshold(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic TableThresholdA threshold for highlighting and coloring cells above the specified value.static TableThresholdA threshold for highlighting and coloring cells above the specified value.static TableThresholdA threshold for highlighting and coloring cells below the specified value.static TableThresholdA threshold for highlighting and coloring cells below the specified value.static TableThresholdA threshold for highlighting and coloring cells within the specified values.static TableThresholdA threshold for highlighting and coloring cells within the specified values.toJson()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
TableThreshold
protected TableThreshold(software.amazon.jsii.JsiiObjectRef objRef) -
TableThreshold
protected TableThreshold(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
above
@Stability(Stable) @NotNull public static TableThreshold above(@NotNull Number value, @Nullable String color) A threshold for highlighting and coloring cells above the specified value.- Parameters:
value- lower bound of threshold range. This parameter is required.color- cell color for values within threshold range.
-
above
A threshold for highlighting and coloring cells above the specified value.- Parameters:
value- lower bound of threshold range. This parameter is required.
-
below
@Stability(Stable) @NotNull public static TableThreshold below(@NotNull Number value, @Nullable String color) A threshold for highlighting and coloring cells below the specified value.- Parameters:
value- upper bound of threshold range. This parameter is required.color- cell color for values within threshold range.
-
below
A threshold for highlighting and coloring cells below the specified value.- Parameters:
value- upper bound of threshold range. This parameter is required.
-
between
@Stability(Stable) @NotNull public static TableThreshold between(@NotNull Number lowerBound, @NotNull Number upperBound, @Nullable String color) A threshold for highlighting and coloring cells within the specified values.- Parameters:
lowerBound- lower bound of threshold range. This parameter is required.upperBound- upper bound of threshold range. This parameter is required.color- cell color for values within threshold range.
-
between
@Stability(Stable) @NotNull public static TableThreshold between(@NotNull Number lowerBound, @NotNull Number upperBound) A threshold for highlighting and coloring cells within the specified values.- Parameters:
lowerBound- lower bound of threshold range. This parameter is required.upperBound- upper bound of threshold range. This parameter is required.
-
toJson
-