Class MetricDefinitionInner


  • public final class MetricDefinitionInner
    extends Object
    A database metric definition.
    • Constructor Detail

      • MetricDefinitionInner

        public MetricDefinitionInner()
    • Method Detail

      • name

        public MetricName name()
        Get the name property: The name information for the metric.
        Returns:
        the name value.
      • primaryAggregationType

        public PrimaryAggregationType primaryAggregationType()
        Get the primaryAggregationType property: The primary aggregation type defining how metric values are displayed.
        Returns:
        the primaryAggregationType value.
      • resourceUri

        public String resourceUri()
        Get the resourceUri property: The resource uri of the database.
        Returns:
        the resourceUri value.
      • unit

        public UnitDefinitionType unit()
        Get the unit property: The unit of the metric.
        Returns:
        the unit value.
      • metricAvailabilities

        public List<MetricAvailability> metricAvailabilities()
        Get the metricAvailabilities property: The list of database metric availabilities for the metric.
        Returns:
        the metricAvailabilities value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.