Interface IWidget.Jsii$Default

All Superinterfaces:
IWidget, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IWidget.Jsii$Proxy
Enclosing interface:
IWidget

@Internal public static interface IWidget.Jsii$Default extends IWidget
Internal default implementation for IWidget.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.IWidget

    IWidget.Jsii$Default, IWidget.Jsii$Proxy
  • Method Summary

    Modifier and Type
    Method
    Description
    default Number
    The amount of vertical grid units the widget will take up.
    default List<String>
    Deprecated.
    use warningsV2
    default Map<String,String>
    Any warnings that are produced as a result of putting together this widget.
    default Number
    The amount of horizontal grid units the widget will take up.
    default void
    Place the widget at a given position.
    default List<Object>
    Return the widget JSON for use in the dashboard.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getHeight

      @Stability(Stable) @NotNull default Number getHeight()
      The amount of vertical grid units the widget will take up.
      Specified by:
      getHeight in interface IWidget
    • getWidth

      @Stability(Stable) @NotNull default Number getWidth()
      The amount of horizontal grid units the widget will take up.
      Specified by:
      getWidth in interface IWidget
    • getWarnings

      @Stability(Deprecated) @Deprecated @Nullable default List<String> getWarnings()
      Deprecated.
      • use warningsV2
      (deprecated) Any warnings that are produced as a result of putting together this widget.

      Specified by:
      getWarnings in interface IWidget
    • getWarningsV2

      @Stability(Stable) @Nullable default Map<String,String> getWarningsV2()
      Any warnings that are produced as a result of putting together this widget.
      Specified by:
      getWarningsV2 in interface IWidget
    • position

      @Stability(Stable) default void position(@NotNull Number x, @NotNull Number y)
      Place the widget at a given position.

      Specified by:
      position in interface IWidget
      Parameters:
      x - This parameter is required.
      y - This parameter is required.
    • toJson

      @Stability(Stable) @NotNull default List<Object> toJson()
      Return the widget JSON for use in the dashboard.
      Specified by:
      toJson in interface IWidget