@Stability(value=Experimental) public static final class TextWidgetProps.Builder extends Object implements software.amazon.jsii.Builder<TextWidgetProps>
TextWidgetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TextWidgetProps |
build()
Builds the configured instance.
|
TextWidgetProps.Builder |
height(Number height)
Sets the value of
TextWidgetProps.getHeight() |
TextWidgetProps.Builder |
markdown(String markdown)
Sets the value of
TextWidgetProps.getMarkdown() |
TextWidgetProps.Builder |
width(Number width)
Sets the value of
TextWidgetProps.getWidth() |
@Stability(value=Experimental) public TextWidgetProps.Builder markdown(String markdown)
TextWidgetProps.getMarkdown()markdown - The text to display, in MarkDown format. This parameter is required.this@Stability(value=Experimental) public TextWidgetProps.Builder height(Number height)
TextWidgetProps.getHeight()height - Height of the widget.this@Stability(value=Experimental) public TextWidgetProps.Builder width(Number width)
TextWidgetProps.getWidth()width - Width of the widget, in a grid of 24 units wide.this@Stability(value=Experimental) public TextWidgetProps build()
build in interface software.amazon.jsii.Builder<TextWidgetProps>TextWidgetPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.