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.104.0 (build e79254c)",
date="2024-11-22T02:23:58.539Z")
@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
ModifierConstructorDescriptionprotected
TableThreshold
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
TableThreshold
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic TableThreshold
A threshold for highlighting and coloring cells above the specified value.static TableThreshold
A threshold for highlighting and coloring cells above the specified value.static TableThreshold
A threshold for highlighting and coloring cells below the specified value.static TableThreshold
A threshold for highlighting and coloring cells below the specified value.static TableThreshold
A threshold for highlighting and coloring cells within the specified values.static TableThreshold
A 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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-