Class CfnDashboardPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudwatch.CfnDashboardPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin>
- Enclosing class:
CfnDashboardPropsMixin
@Stability(Stable)
public static final class CfnDashboardPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin>
A fluent builder for
CfnDashboardPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) 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 CfnDashboardPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDashboardPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDashboardPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin>- Returns:
- a newly built instance of
CfnDashboardPropsMixin.
-