Class OperationsMetricOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.dynamodb.OperationsMetricOptions.Jsii$Proxy
All Implemented Interfaces:
CommonMetricOptions, MetricOptions, OperationsMetricOptions, SystemErrorsForOperationsMetricOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
OperationsMetricOptions

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

    • getOperations

      public final List<Operation> getOperations()
      Description copied from interface: SystemErrorsForOperationsMetricOptions
      The operations to apply the metric to.

      Default: - All operations available by DynamoDB tables will be considered.

      Specified by:
      getOperations in interface SystemErrorsForOperationsMetricOptions
    • getAccount

      public final String getAccount()
      Description copied from interface: CommonMetricOptions
      Account which this metric comes from.

      Default: - Deployment account.

      Specified by:
      getAccount in interface CommonMetricOptions
    • getColor

      public final String getColor()
      Description copied from interface: CommonMetricOptions
      The hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. The Color class has a set of standard colors that can be used here.

      Default: - Automatic color

      Specified by:
      getColor in interface CommonMetricOptions
    • getDimensionsMap

      public final Map<String,String> getDimensionsMap()
      Description copied from interface: CommonMetricOptions
      Dimensions of the metric.

      Default: - No dimensions.

      Specified by:
      getDimensionsMap in interface CommonMetricOptions
    • getLabel

      public final String getLabel()
      Description copied from interface: CommonMetricOptions
      Label for this metric when added to a Graph in a Dashboard.

      You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:

       [max: ${MAX}] MyMetric
       

      As the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend.

      Default: - No label

      Specified by:
      getLabel in interface CommonMetricOptions
    • getPeriod

      public final Duration getPeriod()
      Description copied from interface: CommonMetricOptions
      The period over which the specified statistic is applied.

      Default: Duration.minutes(5)

      Specified by:
      getPeriod in interface CommonMetricOptions
    • getRegion

      public final String getRegion()
      Description copied from interface: CommonMetricOptions
      Region which this metric comes from.

      Default: - Deployment region.

      Specified by:
      getRegion in interface CommonMetricOptions
    • getStatistic

      public final String getStatistic()
      Description copied from interface: CommonMetricOptions
      What function to use for aggregating.

      Use the aws_cloudwatch.Stats helper class to construct valid input strings.

      Can be one of the following:

      • "Minimum" | "min"
      • "Maximum" | "max"
      • "Average" | "avg"
      • "Sum" | "sum"
      • "SampleCount | "n"
      • "pNN.NN"
      • "tmNN.NN" | "tm(NN.NN%:NN.NN%)"
      • "iqm"
      • "wmNN.NN" | "wm(NN.NN%:NN.NN%)"
      • "tcNN.NN" | "tc(NN.NN%:NN.NN%)"
      • "tsNN.NN" | "ts(NN.NN%:NN.NN%)"

      Default: Average

      Specified by:
      getStatistic in interface CommonMetricOptions
    • getUnit

      public final Unit getUnit()
      Description copied from interface: CommonMetricOptions
      Unit used to filter the metric stream.

      Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units.

      The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases.

      CloudWatch does not honor this property for graphs.

      Default: - All metric datums in the given metric stream

      Specified by:
      getUnit in interface CommonMetricOptions
    • $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