All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.cdklabs.cdkmonitoringconstructs.DashboardWithBitmapCopy Maven / Gradle / Ivy

There is a newer version: 9.1.0
Show newest version
package io.github.cdklabs.cdkmonitoringconstructs;

/**
 * (experimental) Composite dashboard which keeps a normal dashboard with its bitmap copy.
 * 

* The bitmap copy name will be derived from the primary dashboard name, if specified. */ @javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-24T17:32:51.890Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = io.github.cdklabs.cdkmonitoringconstructs.$Module.class, fqn = "cdk-monitoring-constructs.DashboardWithBitmapCopy") public class DashboardWithBitmapCopy extends software.amazon.awscdk.services.cloudwatch.Dashboard { protected DashboardWithBitmapCopy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected DashboardWithBitmapCopy(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } /** * @param scope This parameter is required. * @param id This parameter is required. * @param props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public DashboardWithBitmapCopy(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.DashboardProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") }); } /** * (experimental) Add a widget to the dashboard. *

* Widgets given in multiple calls to add() will be laid out stacked on * top of each other. *

* Multiple widgets added in the same call to add() will be laid out next * to each other. *

* @param widgets This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void addWidgets(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cloudwatch.IWidget... widgets) { software.amazon.jsii.Kernel.call(this, "addWidgets", software.amazon.jsii.NativeType.VOID, java.util.Arrays.stream(widgets).toArray(Object[]::new)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.NotNull io.github.cdklabs.cdkmonitoringconstructs.BitmapDashboard getBitmapCopy() { return software.amazon.jsii.Kernel.get(this, "bitmapCopy", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdkmonitoringconstructs.BitmapDashboard.class)); } }