@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.276Z") @Stability(value=Stable) public interface HorizontalAnnotation extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudwatch.*;
HorizontalAnnotation horizontalAnnotation = HorizontalAnnotation.builder()
.value(123)
// the properties below are optional
.color("color")
.fill(Shading.NONE)
.label("label")
.visible(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
HorizontalAnnotation.Builder
A builder for
HorizontalAnnotation |
static class |
HorizontalAnnotation.Jsii$Proxy
An implementation for
HorizontalAnnotation |
| Modifier and Type | Method and Description |
|---|---|
static HorizontalAnnotation.Builder |
builder() |
default String |
getColor()
The hex color code, prefixed with '#' (e.g.
|
default Shading |
getFill()
Add shading above or below the annotation.
|
default String |
getLabel()
Label for the annotation.
|
Number |
getValue()
The value of the annotation.
|
default Boolean |
getVisible()
Whether the annotation is visible.
|
@Stability(value=Stable) @NotNull Number getValue()
@Stability(value=Stable) @Nullable default String getColor()
Default: - Automatic color
@Stability(value=Stable) @Nullable default Shading getFill()
Default: No shading
@Stability(value=Stable) @Nullable default String getLabel()
Default: - No label
@Stability(value=Stable) @Nullable default Boolean getVisible()
Default: true
@Stability(value=Stable) static HorizontalAnnotation.Builder builder()
HorizontalAnnotation.Builder of HorizontalAnnotationCopyright © 2023. All rights reserved.