Class AlarmWidgetProps.Jsii$Proxy

All Implemented Interfaces:
AlarmWidgetProps, MetricWidgetProps,
Enclosing interface:

@Stability(Stable) @Internal public static final class AlarmWidgetProps.Jsii$Proxy extends implements AlarmWidgetProps
An implementation for AlarmWidgetProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(AlarmWidgetProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AlarmWidgetProps.Builder.
  • Method Details

    • getAlarm

      public final IAlarm getAlarm()
      Description copied from interface: AlarmWidgetProps
      The alarm to show.
      Specified by:
      getAlarm in interface AlarmWidgetProps
    • getLeftYAxis

      public final YAxisProps getLeftYAxis()
      Description copied from interface: AlarmWidgetProps
      Left Y axis.

      Default: - No minimum or maximum values for the left Y-axis

      Specified by:
      getLeftYAxis in interface AlarmWidgetProps
    • getHeight

      public final Number getHeight()
      Description copied from interface: MetricWidgetProps
      Height of the widget.

      Default: - 6 for Alarm and Graph widgets. 3 for single value widgets where most recent value of a metric is displayed.

      Specified by:
      getHeight in interface MetricWidgetProps
    • getRegion

      public final String getRegion()
      Description copied from interface: MetricWidgetProps
      The region the metrics of this graph should be taken from.

      Default: - Current region

      Specified by:
      getRegion in interface MetricWidgetProps
    • getTitle

      public final String getTitle()
      Description copied from interface: MetricWidgetProps
      Title for the graph.

      Default: - None

      Specified by:
      getTitle in interface MetricWidgetProps
    • getWidth

      public final Number getWidth()
      Description copied from interface: MetricWidgetProps
      Width of the widget, in a grid of 24 units wide.

      Default: 6

      Specified by:
      getWidth in interface MetricWidgetProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface
    • equals

      public final boolean equals(Object o)
      equals in class Object
    • hashCode

      public final int hashCode()
      hashCode in class Object