Class MetricWidgetProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.MetricWidgetProps.Jsii$Proxy
- All Implemented Interfaces:
MetricWidgetProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
MetricWidgetProps
@Stability(Stable)
@Internal
public static final class MetricWidgetProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements MetricWidgetProps
An implementation for
MetricWidgetProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.MetricWidgetProps
MetricWidgetProps.Builder, MetricWidgetProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(MetricWidgetProps.Builder builder) Constructor that initializes the object based on literal property values passed by theMetricWidgetProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
Height of the widget.final String
The region the metrics of this graph should be taken from.final String
getTitle()
Title for the graph.final Number
getWidth()
Width of the widget, in a grid of 24 units wide.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theMetricWidgetProps.Builder
.
-
-
Method Details
-
getHeight
Description copied from interface:MetricWidgetProps
Height of the widget.Default: - 6 for Alarm and Graph widgets. 3 for single value widgets where most recent value of a metric is displayed.
- Specified by:
getHeight
in interfaceMetricWidgetProps
-
getRegion
Description copied from interface:MetricWidgetProps
The region the metrics of this graph should be taken from.Default: - Current region
- Specified by:
getRegion
in interfaceMetricWidgetProps
-
getTitle
Description copied from interface:MetricWidgetProps
Title for the graph.Default: - None
- Specified by:
getTitle
in interfaceMetricWidgetProps
-
getWidth
Description copied from interface:MetricWidgetProps
Width of the widget, in a grid of 24 units wide.Default: 6
- Specified by:
getWidth
in interfaceMetricWidgetProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-