Class CfnDashboardProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnDashboardProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardProps>
- Enclosing interface:
CfnDashboardProps
@Stability(Stable)
public static final class CfnDashboardProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardProps>
A builder for
CfnDashboardProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dashboardDefinition
(String dashboardDefinition) Sets the value ofCfnDashboardProps.getDashboardDefinition()
dashboardDescription
(String dashboardDescription) Sets the value ofCfnDashboardProps.getDashboardDescription()
dashboardName
(String dashboardName) Sets the value ofCfnDashboardProps.getDashboardName()
Sets the value ofCfnDashboardProps.getProjectId()
Sets the value ofCfnDashboardProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dashboardDefinition
Sets the value ofCfnDashboardProps.getDashboardDefinition()
- Parameters:
dashboardDefinition
- The dashboard definition specified in a JSON literal. This parameter is required.- AWS IoT SiteWise Monitor (Classic) see Create dashboards ( AWS CLI )
- AWS IoT SiteWise Monitor (AI-aware) see Create dashboards ( AWS CLI )
in the AWS IoT SiteWise User Guide
- Returns:
this
-
dashboardDescription
@Stability(Stable) public CfnDashboardProps.Builder dashboardDescription(String dashboardDescription) Sets the value ofCfnDashboardProps.getDashboardDescription()
- Parameters:
dashboardDescription
- A description for the dashboard. This parameter is required.- Returns:
this
-
dashboardName
Sets the value ofCfnDashboardProps.getDashboardName()
- Parameters:
dashboardName
- A friendly name for the dashboard. This parameter is required.- Returns:
this
-
projectId
Sets the value ofCfnDashboardProps.getProjectId()
- Parameters:
projectId
- The ID of the project in which to create the dashboard.- Returns:
this
-
tags
Sets the value ofCfnDashboardProps.getTags()
- Parameters:
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 .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboardProps>
- Returns:
- a new instance of
CfnDashboardProps
- Throws:
NullPointerException
- if any required attribute was not provided
-