Class ApiOperationPropertiesServiceSpecification


  • public final class ApiOperationPropertiesServiceSpecification
    extends Object
    Specification of the all the metrics provided for a resource type.
    • Constructor Detail

      • ApiOperationPropertiesServiceSpecification

        public ApiOperationPropertiesServiceSpecification()
    • Method Detail

      • metricSpecifications

        public List<MetricSpecification> metricSpecifications()
        Get the metricSpecifications property: Details about operations related to metrics.
        Returns:
        the metricSpecifications value.
      • withMetricSpecifications

        public ApiOperationPropertiesServiceSpecification withMetricSpecifications​(List<MetricSpecification> metricSpecifications)
        Set the metricSpecifications property: Details about operations related to metrics.
        Parameters:
        metricSpecifications - the metricSpecifications value to set.
        Returns:
        the ApiOperationPropertiesServiceSpecification object itself.
      • validate

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