Class OperationMetaMetricSpecification

java.lang.Object
com.azure.resourcemanager.purview.models.OperationMetaMetricSpecification

public final class OperationMetaMetricSpecification extends Object
metric specifications for the operation.
  • Constructor Details

    • OperationMetaMetricSpecification

      public OperationMetaMetricSpecification()
      Creates an instance of OperationMetaMetricSpecification class.
  • Method Details

    • aggregationType

      public String aggregationType()
      Get the aggregationType property: aggregation type of metric.
      Returns:
      the aggregationType value.
    • withAggregationType

      public OperationMetaMetricSpecification withAggregationType(String aggregationType)
      Set the aggregationType property: aggregation type of metric.
      Parameters:
      aggregationType - the aggregationType value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • dimensions

      public List<DimensionProperties> dimensions()
      Get the dimensions property: properties for dimension.
      Returns:
      the dimensions value.
    • withDimensions

      public OperationMetaMetricSpecification withDimensions(List<DimensionProperties> dimensions)
      Set the dimensions property: properties for dimension.
      Parameters:
      dimensions - the dimensions value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • displayDescription

      public String displayDescription()
      Get the displayDescription property: description of the metric.
      Returns:
      the displayDescription value.
    • withDisplayDescription

      public OperationMetaMetricSpecification withDisplayDescription(String displayDescription)
      Set the displayDescription property: description of the metric.
      Parameters:
      displayDescription - the displayDescription value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • displayName

      public String displayName()
      Get the displayName property: localized name of the metric.
      Returns:
      the displayName value.
    • withDisplayName

      public OperationMetaMetricSpecification withDisplayName(String displayName)
      Set the displayName property: localized name of the metric.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • enableRegionalMdmAccount

      public String enableRegionalMdmAccount()
      Get the enableRegionalMdmAccount property: enable regional mdm account.
      Returns:
      the enableRegionalMdmAccount value.
    • withEnableRegionalMdmAccount

      public OperationMetaMetricSpecification withEnableRegionalMdmAccount(String enableRegionalMdmAccount)
      Set the enableRegionalMdmAccount property: enable regional mdm account.
      Parameters:
      enableRegionalMdmAccount - the enableRegionalMdmAccount value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • internalMetricName

      public String internalMetricName()
      Get the internalMetricName property: internal metric name.
      Returns:
      the internalMetricName value.
    • withInternalMetricName

      public OperationMetaMetricSpecification withInternalMetricName(String internalMetricName)
      Set the internalMetricName property: internal metric name.
      Parameters:
      internalMetricName - the internalMetricName value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • name

      public String name()
      Get the name property: name of the metric.
      Returns:
      the name value.
    • withName

      public OperationMetaMetricSpecification withName(String name)
      Set the name property: name of the metric.
      Parameters:
      name - the name value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • resourceIdDimensionNameOverride

      public String resourceIdDimensionNameOverride()
      Get the resourceIdDimensionNameOverride property: dimension name use to replace resource id if specified.
      Returns:
      the resourceIdDimensionNameOverride value.
    • withResourceIdDimensionNameOverride

      public OperationMetaMetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
      Set the resourceIdDimensionNameOverride property: dimension name use to replace resource id if specified.
      Parameters:
      resourceIdDimensionNameOverride - the resourceIdDimensionNameOverride value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • sourceMdmNamespace

      public String sourceMdmNamespace()
      Get the sourceMdmNamespace property: Metric namespace. Only set the namespace if different from the default value, leaving it empty makes it use the value from the ARM manifest.
      Returns:
      the sourceMdmNamespace value.
    • withSourceMdmNamespace

      public OperationMetaMetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)
      Set the sourceMdmNamespace property: Metric namespace. Only set the namespace if different from the default value, leaving it empty makes it use the value from the ARM manifest.
      Parameters:
      sourceMdmNamespace - the sourceMdmNamespace value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • supportedAggregationTypes

      public List<String> supportedAggregationTypes()
      Get the supportedAggregationTypes property: supported aggregation types.
      Returns:
      the supportedAggregationTypes value.
    • withSupportedAggregationTypes

      public OperationMetaMetricSpecification withSupportedAggregationTypes(List<String> supportedAggregationTypes)
      Set the supportedAggregationTypes property: supported aggregation types.
      Parameters:
      supportedAggregationTypes - the supportedAggregationTypes value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • supportedTimeGrainTypes

      public List<String> supportedTimeGrainTypes()
      Get the supportedTimeGrainTypes property: supported time grain types.
      Returns:
      the supportedTimeGrainTypes value.
    • withSupportedTimeGrainTypes

      public OperationMetaMetricSpecification withSupportedTimeGrainTypes(List<String> supportedTimeGrainTypes)
      Set the supportedTimeGrainTypes property: supported time grain types.
      Parameters:
      supportedTimeGrainTypes - the supportedTimeGrainTypes value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • unit

      public String unit()
      Get the unit property: units for the metric.
      Returns:
      the unit value.
    • withUnit

      public OperationMetaMetricSpecification withUnit(String unit)
      Set the unit property: units for the metric.
      Parameters:
      unit - the unit value to set.
      Returns:
      the OperationMetaMetricSpecification object itself.
    • validate

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