Class CfnDashboard.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnDashboard.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard>
- Enclosing class:
CfnDashboard
@Stability(Stable)
public static final class CfnDashboard.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard>
A fluent builder for
CfnDashboard
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDashboard.Builder
dashboardDefinition
(String dashboardDefinition) The dashboard definition specified in a JSON literal.dashboardDescription
(String dashboardDescription) A description for the dashboard.dashboardName
(String dashboardName) A friendly name for the dashboard.The ID of the project in which to create the dashboard.A list of key-value pairs that contain metadata for the dashboard.
-
Method Details
-
create
@Stability(Stable) public static CfnDashboard.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDashboard.Builder
.
-
dashboardDefinition
The dashboard definition specified in a JSON literal.- 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
- Parameters:
dashboardDefinition
- The dashboard definition specified in a JSON literal. This parameter is required.- Returns:
this
- See Also:
-
dashboardDescription
A description for the dashboard.- Parameters:
dashboardDescription
- A description for the dashboard. This parameter is required.- Returns:
this
- See Also:
-
dashboardName
A friendly name for the dashboard.- Parameters:
dashboardName
- A friendly name for the dashboard. This parameter is required.- Returns:
this
- See Also:
-
projectId
The ID of the project in which to create the dashboard.- Parameters:
projectId
- The ID of the project in which to create the dashboard. This parameter is required.- Returns:
this
- See Also:
-
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 .
- Parameters:
tags
- A list of key-value pairs that contain metadata for the dashboard. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard>
- Returns:
- a newly built instance of
CfnDashboard
.
-