@Stability(value=Stable) public static final class HorizontalAnnotation.Builder extends Object implements software.amazon.jsii.Builder<HorizontalAnnotation>
HorizontalAnnotation| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HorizontalAnnotation |
build()
Builds the configured instance.
|
HorizontalAnnotation.Builder |
color(String color)
Sets the value of
HorizontalAnnotation.getColor() |
HorizontalAnnotation.Builder |
fill(Shading fill)
Sets the value of
HorizontalAnnotation.getFill() |
HorizontalAnnotation.Builder |
label(String label)
Sets the value of
HorizontalAnnotation.getLabel() |
HorizontalAnnotation.Builder |
value(Number value)
Sets the value of
HorizontalAnnotation.getValue() |
HorizontalAnnotation.Builder |
visible(Boolean visible)
Sets the value of
HorizontalAnnotation.getVisible() |
@Stability(value=Stable) public HorizontalAnnotation.Builder value(Number value)
HorizontalAnnotation.getValue()value - The value of the annotation. This parameter is required.this@Stability(value=Stable) public HorizontalAnnotation.Builder color(String color)
HorizontalAnnotation.getColor()color - The hex color code, prefixed with '#' (e.g. '#00ff00'), to be used for the annotation. The `Color` class has a set of standard colors that can be used here.this@Stability(value=Stable) public HorizontalAnnotation.Builder fill(Shading fill)
HorizontalAnnotation.getFill()fill - Add shading above or below the annotation.this@Stability(value=Stable) public HorizontalAnnotation.Builder label(String label)
HorizontalAnnotation.getLabel()label - Label for the annotation.this@Stability(value=Stable) public HorizontalAnnotation.Builder visible(Boolean visible)
HorizontalAnnotation.getVisible()visible - Whether the annotation is visible.this@Stability(value=Stable) public HorizontalAnnotation build()
build in interface software.amazon.jsii.Builder<HorizontalAnnotation>HorizontalAnnotationNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.