@Stability(value=Stable) public static final class CustomWidgetProps.Builder extends Object implements software.amazon.jsii.Builder<CustomWidgetProps>
CustomWidgetProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CustomWidgetProps.Builder functionArn(String functionArn)
CustomWidgetProps.getFunctionArn()functionArn - The Arn of the AWS Lambda function that returns HTML or JSON that will be displayed in the widget. This parameter is required.this@Stability(value=Stable) public CustomWidgetProps.Builder title(String title)
CustomWidgetProps.getTitle()title - The title of the widget. This parameter is required.this@Stability(value=Stable) public CustomWidgetProps.Builder height(Number height)
CustomWidgetProps.getHeight()height - Height of the widget.this@Stability(value=Stable) public CustomWidgetProps.Builder params(Object params)
CustomWidgetProps.getParams()params - Parameters passed to the lambda function.this@Stability(value=Stable) public CustomWidgetProps.Builder updateOnRefresh(Boolean updateOnRefresh)
CustomWidgetProps.getUpdateOnRefresh()updateOnRefresh - Update the widget on refresh.this@Stability(value=Stable) public CustomWidgetProps.Builder updateOnResize(Boolean updateOnResize)
CustomWidgetProps.getUpdateOnResize()updateOnResize - Update the widget on resize.this@Stability(value=Stable) public CustomWidgetProps.Builder updateOnTimeRangeChange(Boolean updateOnTimeRangeChange)
CustomWidgetProps.getUpdateOnTimeRangeChange()updateOnTimeRangeChange - Update the widget on time range change.this@Stability(value=Stable) public CustomWidgetProps.Builder width(Number width)
CustomWidgetProps.getWidth()width - Width of the widget, in a grid of 24 units wide.this@Stability(value=Stable) public CustomWidgetProps build()
build in interface software.amazon.jsii.Builder<CustomWidgetProps>CustomWidgetPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.