Class Spacer
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.Spacer
- All Implemented Interfaces:
IWidget
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:58.535Z")
@Stability(Stable)
public class Spacer
extends software.amazon.jsii.JsiiObject
implements IWidget
A widget that doesn't display anything but takes up space.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cloudwatch.*; Spacer spacer = Spacer.Builder.create() .height(123) .width(123) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.IWidget
IWidget.Jsii$Default, IWidget.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionSpacer()
Spacer
(SpacerProps props) protected
Spacer
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
Spacer
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.services.cloudwatch.IWidget
getWarnings, getWarningsV2
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Spacer
protected Spacer(software.amazon.jsii.JsiiObjectRef objRef) -
Spacer
protected Spacer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Spacer
- Parameters:
props
-
-
Spacer
@Stability(Stable) public Spacer()
-
-
Method Details
-
position
Place the widget at a given position. -
toJson
Return the widget JSON for use in the dashboard. -
getHeight
The amount of vertical grid units the widget will take up. -
getWidth
The amount of horizontal grid units the widget will take up.
-