Class CfnDashboard.Builder
java.lang.Object
software.amazon.awscdk.services.cloudwatch.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
dashboardBody
(String dashboardBody) The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard.dashboardName
(String dashboardName) The name of 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
.
-
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.
For more information about the syntax, see Dashboard Body Structure and Syntax .
- Parameters:
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.- Returns:
this
- See Also:
-
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.
- Parameters:
dashboardName
- The name of 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
.
-