Class DashboardReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.cloudwatch.DashboardReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DashboardReference>
- Enclosing interface:
DashboardReference
@Stability(Stable)
public static final class DashboardReference.Builder
extends Object
implements software.amazon.jsii.Builder<DashboardReference>
A builder for
DashboardReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dashboardName(String dashboardName) Sets the value ofDashboardReference.getDashboardName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dashboardName
Sets the value ofDashboardReference.getDashboardName()- Parameters:
dashboardName- The DashboardName of the Dashboard resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DashboardReference>- Returns:
- a new instance of
DashboardReference - Throws:
NullPointerException- if any required attribute was not provided
-