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 |
dashboardDefinition(java.lang.String dashboardDefinition)
Sets the value of
CfnDashboardProps.getDashboardDefinition() |
CfnDashboardProps.Builder |
dashboardDescription(java.lang.String dashboardDescription)
Sets the value of
CfnDashboardProps.getDashboardDescription() |
CfnDashboardProps.Builder |
dashboardName(java.lang.String dashboardName)
Sets the value of
CfnDashboardProps.getDashboardName() |
CfnDashboardProps.Builder |
projectId(java.lang.String projectId)
Sets the value of
CfnDashboardProps.getProjectId() |
CfnDashboardProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnDashboardProps.getTags() |
public CfnDashboardProps.Builder dashboardDefinition(java.lang.String dashboardDefinition)
CfnDashboardProps.getDashboardDefinition()
dashboardDefinition
- The dashboard definition specified in a JSON literal. This parameter is required.
For detailed information, see Creating dashboards (CLI) in the AWS IoT SiteWise User Guide .this
public CfnDashboardProps.Builder dashboardDescription(java.lang.String dashboardDescription)
CfnDashboardProps.getDashboardDescription()
dashboardDescription
- A description for the dashboard. This parameter is required.this
public CfnDashboardProps.Builder dashboardName(java.lang.String dashboardName)
CfnDashboardProps.getDashboardName()
dashboardName
- A friendly name for the dashboard. This parameter is required.this
public CfnDashboardProps.Builder projectId(java.lang.String projectId)
CfnDashboardProps.getProjectId()
projectId
- The ID of the project in which to create the dashboard.this
public CfnDashboardProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnDashboardProps.getTags()
tags
- A list of key-value pairs that contain metadata for the dashboard.
For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .this
public CfnDashboardProps build()
CfnDashboardProps
java.lang.NullPointerException
- if any required attribute was not provided