public static final class CfnDashboardProps.Builder
extends java.lang.Object
CfnDashboardProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDashboardProps |
build()
Builds the configured instance.
|
CfnDashboardProps.Builder |
dashboardBody(java.lang.String dashboardBody)
Sets the value of
CfnDashboardProps.getDashboardBody() |
CfnDashboardProps.Builder |
dashboardName(java.lang.String dashboardName)
Sets the value of
CfnDashboardProps.getDashboardName() |
public CfnDashboardProps.Builder dashboardBody(java.lang.String dashboardBody)
CfnDashboardProps.getDashboardBody()
dashboardBody
- The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard. This parameter is required.
This parameter is required.
For more information about the syntax, see Dashboard Body Structure and Syntax .
this
public CfnDashboardProps.Builder dashboardName(java.lang.String dashboardName)
CfnDashboardProps.getDashboardName()
dashboardName
- The name of the dashboard.
The name must be between 1 and 255 characters. If you do not specify a name, one will be generated automatically.this
public CfnDashboardProps build()
CfnDashboardProps
java.lang.NullPointerException
- if any required attribute was not provided