Class TableWidgetProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class TableWidgetProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TableWidgetProps
An implementation for TableWidgetProps
  • 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(TableWidgetProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the TableWidgetProps.Builder.
  • Method Details

    • getEnd

      public final String getEnd()
      Description copied from interface: TableWidgetProps
      The end of the time range to use for each widget independently from those of the dashboard.

      If you specify a value for end, you must also specify a value for start. Specify an absolute time in the ISO 8601 format. For example, 2018-12-17T06:00:00.000Z.

      Default: When the dashboard loads, the end date will be the current time.

      Specified by:
      getEnd in interface TableWidgetProps
    • getFullPrecision

      public final Boolean getFullPrecision()
      Description copied from interface: TableWidgetProps
      Whether to show as many digits as can fit, before rounding.

      Default: false

      Specified by:
      getFullPrecision in interface TableWidgetProps
    • getLayout

      public final TableLayout getLayout()
      Description copied from interface: TableWidgetProps
      Table layout.

      Default: - TableLayout.HORIZONTAL

      Specified by:
      getLayout in interface TableWidgetProps
    • getLiveData

      public final Boolean getLiveData()
      Description copied from interface: TableWidgetProps
      Whether the graph should show live data.

      Default: false

      Specified by:
      getLiveData in interface TableWidgetProps
    • getMetrics

      public final List<IMetric> getMetrics()
      Description copied from interface: TableWidgetProps
      Metrics to display in the table.

      Default: - No metrics

      Specified by:
      getMetrics in interface TableWidgetProps
    • getPeriod

      public final Duration getPeriod()
      Description copied from interface: TableWidgetProps
      The default period for all metrics in this widget.

      The period is the length of time represented by one data point on the graph. This default can be overridden within each metric definition.

      Default: cdk.Duration.seconds(300)

      Specified by:
      getPeriod in interface TableWidgetProps
    • getSetPeriodToTimeRange

      public final Boolean getSetPeriodToTimeRange()
      Description copied from interface: TableWidgetProps
      Whether to show the value from the entire time range. Only applicable for Bar and Pie charts.

      If false, values will be from the most recent period of your chosen time range; if true, shows the value from the entire time range.

      Default: false

      Specified by:
      getSetPeriodToTimeRange in interface TableWidgetProps
    • getShowUnitsInLabel

      public final Boolean getShowUnitsInLabel()
      Description copied from interface: TableWidgetProps
      Show the metrics units in the label column.

      Default: - false

      Specified by:
      getShowUnitsInLabel in interface TableWidgetProps
    • getStart

      public final String getStart()
      Description copied from interface: TableWidgetProps
      The start of the time range to use for each widget independently from those of the dashboard.

      You can specify start without specifying end to specify a relative time range that ends with the current time. In this case, the value of start must begin with -P, and you can use M, H, D, W and M as abbreviations for minutes, hours, days, weeks and months. For example, -PT8H shows the last 8 hours and -P3M shows the last three months. You can also use start along with an end field, to specify an absolute time range. When specifying an absolute time range, use the ISO 8601 format. For example, 2018-12-17T06:00:00.000Z.

      Default: When the dashboard loads, the start time will be the default time range.

      Specified by:
      getStart in interface TableWidgetProps
    • getStatistic

      public final String getStatistic()
      Description copied from interface: TableWidgetProps
      The default statistic to be displayed for each metric.

      This default can be overridden within the definition of each individual metric

      Default: - The statistic for each metric is used

      Specified by:
      getStatistic in interface TableWidgetProps
    • getSummary

      public final TableSummaryProps getSummary()
      Description copied from interface: TableWidgetProps
      Properties for displaying summary columns.

      Default: - no summary columns are shown

      Specified by:
      getSummary in interface TableWidgetProps
    • getThresholds

      public final List<TableThreshold> getThresholds()
      Description copied from interface: TableWidgetProps
      Thresholds for highlighting table cells.

      Default: - No thresholds

      Specified by:
      getThresholds in interface TableWidgetProps
    • 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