@Stability(value=Experimental) public static final class GraphWidgetProps.Builder extends Object implements software.amazon.jsii.Builder<GraphWidgetProps>
GraphWidgetProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public GraphWidgetProps.Builder left(List<? extends IMetric> left)
GraphWidgetProps.getLeft()left - Metrics to display on left Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder leftAnnotations(List<? extends HorizontalAnnotation> leftAnnotations)
GraphWidgetProps.getLeftAnnotations()leftAnnotations - Annotations for the left Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder leftYAxis(YAxisProps leftYAxis)
GraphWidgetProps.getLeftYAxis()leftYAxis - Left Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder legendPosition(LegendPosition legendPosition)
GraphWidgetProps.getLegendPosition()legendPosition - Position of the legend.this@Stability(value=Experimental) public GraphWidgetProps.Builder liveData(Boolean liveData)
GraphWidgetProps.getLiveData()liveData - Whether the graph should show live data.this@Stability(value=Experimental) public GraphWidgetProps.Builder right(List<? extends IMetric> right)
GraphWidgetProps.getRight()right - Metrics to display on right Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder rightAnnotations(List<? extends HorizontalAnnotation> rightAnnotations)
GraphWidgetProps.getRightAnnotations()rightAnnotations - Annotations for the right Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder rightYAxis(YAxisProps rightYAxis)
GraphWidgetProps.getRightYAxis()rightYAxis - Right Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder stacked(Boolean stacked)
GraphWidgetProps.getStacked()stacked - Whether the graph should be shown as stacked lines.this@Stability(value=Experimental) public GraphWidgetProps.Builder view(GraphWidgetView view)
GraphWidgetProps.getView()view - Display this metric.this@Stability(value=Experimental) public GraphWidgetProps.Builder height(Number height)
MetricWidgetProps.getHeight()height - Height of the widget.this@Stability(value=Experimental) public GraphWidgetProps.Builder region(String region)
MetricWidgetProps.getRegion()region - The region the metrics of this graph should be taken from.this@Stability(value=Experimental) public GraphWidgetProps.Builder title(String title)
MetricWidgetProps.getTitle()title - Title for the graph.this@Stability(value=Experimental) public GraphWidgetProps.Builder width(Number width)
MetricWidgetProps.getWidth()width - Width of the widget, in a grid of 24 units wide.this@Stability(value=Experimental) public GraphWidgetProps build()
build in interface software.amazon.jsii.Builder<GraphWidgetProps>GraphWidgetPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.