@Stability(value=Stable) @Internal public static final class GraphWidgetProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GraphWidgetProps
GraphWidgetPropssoftware.amazon.jsii.JsiiObject.InitializationModeGraphWidgetProps.Builder, GraphWidgetProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(GraphWidgetProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
GraphWidgetProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getHeight()
Height of the widget.
|
List<IMetric> |
getLeft()
Metrics to display on left Y axis.
|
List<HorizontalAnnotation> |
getLeftAnnotations()
Annotations for the left Y axis.
|
YAxisProps |
getLeftYAxis()
Left Y axis.
|
LegendPosition |
getLegendPosition()
Position of the legend.
|
Boolean |
getLiveData()
Whether the graph should show live data.
|
Duration |
getPeriod()
The default period for all metrics in this widget.
|
String |
getRegion()
The region the metrics of this graph should be taken from.
|
List<IMetric> |
getRight()
Metrics to display on right Y axis.
|
List<HorizontalAnnotation> |
getRightAnnotations()
Annotations for the right Y axis.
|
YAxisProps |
getRightYAxis()
Right Y axis.
|
Boolean |
getSetPeriodToTimeRange()
Whether to show the value from the entire time range.
|
Boolean |
getStacked()
Whether the graph should be shown as stacked lines.
|
String |
getStatistic()
The default statistic to be displayed for each metric.
|
String |
getTitle()
Title for the graph.
|
GraphWidgetView |
getView()
Display this metric.
|
Number |
getWidth()
Width of the widget, in a grid of 24 units wide.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(GraphWidgetProps.Builder builder)
GraphWidgetProps.Builder.public final List<IMetric> getLeft()
GraphWidgetPropsDefault: - No metrics
getLeft in interface GraphWidgetPropspublic final List<HorizontalAnnotation> getLeftAnnotations()
GraphWidgetPropsDefault: - No annotations
getLeftAnnotations in interface GraphWidgetPropspublic final YAxisProps getLeftYAxis()
GraphWidgetPropsDefault: - None
getLeftYAxis in interface GraphWidgetPropspublic final LegendPosition getLegendPosition()
GraphWidgetPropsDefault: - bottom
getLegendPosition in interface GraphWidgetPropspublic final Boolean getLiveData()
GraphWidgetPropsDefault: false
getLiveData in interface GraphWidgetPropspublic final Duration getPeriod()
GraphWidgetPropsThe period is the length of time represented by one data point on the graph. This default can be overridden within each metric definition.
Default: cdk.Duration.seconds(300)
getPeriod in interface GraphWidgetPropspublic final List<IMetric> getRight()
GraphWidgetPropsDefault: - No metrics
getRight in interface GraphWidgetPropspublic final List<HorizontalAnnotation> getRightAnnotations()
GraphWidgetPropsDefault: - No annotations
getRightAnnotations in interface GraphWidgetPropspublic final YAxisProps getRightYAxis()
GraphWidgetPropsDefault: - None
getRightYAxis in interface GraphWidgetPropspublic final Boolean getSetPeriodToTimeRange()
GraphWidgetPropsIf false, values will be from the most recent period of your chosen time range; if true, shows the value from the entire time range.
Default: false
getSetPeriodToTimeRange in interface GraphWidgetPropspublic final Boolean getStacked()
GraphWidgetPropsDefault: false
getStacked in interface GraphWidgetPropspublic final String getStatistic()
GraphWidgetPropsThis default can be overridden within the definition of each individual metric
Default: - The statistic for each metric is used
getStatistic in interface GraphWidgetPropspublic final GraphWidgetView getView()
GraphWidgetPropsDefault: TimeSeries
getView in interface GraphWidgetPropspublic final Number getHeight()
MetricWidgetPropsDefault: - 6 for Alarm and Graph widgets. 3 for single value widgets where most recent value of a metric is displayed.
getHeight in interface MetricWidgetPropspublic final String getRegion()
MetricWidgetPropsDefault: - Current region
getRegion in interface MetricWidgetPropspublic final String getTitle()
MetricWidgetPropsDefault: - None
getTitle in interface MetricWidgetPropspublic final Number getWidth()
MetricWidgetPropsDefault: 6
getWidth in interface MetricWidgetProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2023. All rights reserved.