Class OperationMetaMetricSpecification
java.lang.Object
com.azure.resourcemanager.purview.models.OperationMetaMetricSpecification
metric specifications for the operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of OperationMetaMetricSpecification class. -
Method Summary
Modifier and TypeMethodDescriptionGet the aggregationType property: aggregation type of metric.Get the dimensions property: properties for dimension.Get the displayDescription property: description of the metric.Get the displayName property: localized name of the metric.Get the enableRegionalMdmAccount property: enable regional mdm account.Get the internalMetricName property: internal metric name.name()
Get the name property: name of the metric.Get the resourceIdDimensionNameOverride property: dimension name use to replace resource id if specified.Get the sourceMdmNamespace property: Metric namespace.Get the supportedAggregationTypes property: supported aggregation types.Get the supportedTimeGrainTypes property: supported time grain types.unit()
Get the unit property: units for the metric.void
validate()
Validates the instance.withAggregationType
(String aggregationType) Set the aggregationType property: aggregation type of metric.withDimensions
(List<DimensionProperties> dimensions) Set the dimensions property: properties for dimension.withDisplayDescription
(String displayDescription) Set the displayDescription property: description of the metric.withDisplayName
(String displayName) Set the displayName property: localized name of the metric.withEnableRegionalMdmAccount
(String enableRegionalMdmAccount) Set the enableRegionalMdmAccount property: enable regional mdm account.withInternalMetricName
(String internalMetricName) Set the internalMetricName property: internal metric name.Set the name property: name of the metric.withResourceIdDimensionNameOverride
(String resourceIdDimensionNameOverride) Set the resourceIdDimensionNameOverride property: dimension name use to replace resource id if specified.withSourceMdmNamespace
(String sourceMdmNamespace) Set the sourceMdmNamespace property: Metric namespace.withSupportedAggregationTypes
(List<String> supportedAggregationTypes) Set the supportedAggregationTypes property: supported aggregation types.withSupportedTimeGrainTypes
(List<String> supportedTimeGrainTypes) Set the supportedTimeGrainTypes property: supported time grain types.Set the unit property: units for the metric.
-
Constructor Details
-
OperationMetaMetricSpecification
public OperationMetaMetricSpecification()Creates an instance of OperationMetaMetricSpecification class.
-
-
Method Details
-
aggregationType
Get the aggregationType property: aggregation type of metric.- Returns:
- the aggregationType value.
-
withAggregationType
Set the aggregationType property: aggregation type of metric.- Parameters:
aggregationType
- the aggregationType value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
dimensions
Get the dimensions property: properties for dimension.- Returns:
- the dimensions value.
-
withDimensions
Set the dimensions property: properties for dimension.- Parameters:
dimensions
- the dimensions value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
displayDescription
Get the displayDescription property: description of the metric.- Returns:
- the displayDescription value.
-
withDisplayDescription
Set the displayDescription property: description of the metric.- Parameters:
displayDescription
- the displayDescription value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
displayName
Get the displayName property: localized name of the metric.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: localized name of the metric.- Parameters:
displayName
- the displayName value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
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
Get the internalMetricName property: internal metric name.- Returns:
- the internalMetricName value.
-
withInternalMetricName
Set the internalMetricName property: internal metric name.- Parameters:
internalMetricName
- the internalMetricName value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
name
Get the name property: name of the metric.- Returns:
- the name value.
-
withName
Set the name property: name of the metric.- Parameters:
name
- the name value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
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
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
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
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
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
Get the unit property: units for the metric.- Returns:
- the unit value.
-
withUnit
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.
-