Class MetricOptions.Jsii$Proxy

  • All Implemented Interfaces:
    MetricOptions, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    MetricOptions

    @Stability(Stable)
    @Internal
    public static final class MetricOptions.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements MetricOptions
    An implementation for MetricOptions
    • Constructor Detail

      • 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.
    • Method Detail

      • getLabelSelector

        public final LabelSelector getLabelSelector()
        Description copied from interface: MetricOptions
        A selector to find a metric by label.

        When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping.

        Default: - Just the metric 'name' will be used to gather metrics.

        Specified by:
        getLabelSelector in interface MetricOptions
      • $jsii$toJson

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

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