Class MetricWidgetProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.MetricWidgetProps.Jsii$Proxy
All Implemented Interfaces:
MetricWidgetProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
MetricWidgetProps

@Stability(Stable) @Internal public static final class MetricWidgetProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MetricWidgetProps
An implementation for MetricWidgetProps
  • 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.MetricWidgetProps

    MetricWidgetProps.Builder, MetricWidgetProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the MetricWidgetProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Number
    Height of the widget.
    final String
    The region the metrics of this graph should be taken from.
    final String
    Title for the graph.
    final Number
    Width of the widget, in a grid of 24 units wide.
    final int
     

    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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

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

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

    • 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 software.amazon.jsii.JsiiSerializable
    • equals

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

      public final int hashCode()
      Overrides:
      hashCode in class Object