Class TextWidgetProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.TextWidgetProps.Jsii$Proxy
- All Implemented Interfaces:
TextWidgetProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
TextWidgetProps
@Stability(Stable)
@Internal
public static final class TextWidgetProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements TextWidgetProps
An implementation for
TextWidgetProps
-
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.TextWidgetProps
TextWidgetProps.Builder, TextWidgetProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(TextWidgetProps.Builder builder) Constructor that initializes the object based on literal property values passed by theTextWidgetProps.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 TextWidgetBackground
Background for the widget.final Number
Height of the widget.final String
The text to display, in MarkDown format.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 theTextWidgetProps.Builder
.
-
-
Method Details
-
getMarkdown
Description copied from interface:TextWidgetProps
The text to display, in MarkDown format.- Specified by:
getMarkdown
in interfaceTextWidgetProps
-
getBackground
Description copied from interface:TextWidgetProps
Background for the widget.Default: solid
- Specified by:
getBackground
in interfaceTextWidgetProps
-
getHeight
Description copied from interface:TextWidgetProps
Height of the widget.Default: 2
- Specified by:
getHeight
in interfaceTextWidgetProps
-
getWidth
Description copied from interface:TextWidgetProps
Width of the widget, in a grid of 24 units wide.Default: 6
- Specified by:
getWidth
in interfaceTextWidgetProps
-
$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()
-