Class OperationMetaMetricSpecification
java.lang.Object
com.azure.resourcemanager.synapse.models.OperationMetaMetricSpecification
What is this?.
-
Constructor Summary
ConstructorDescriptionCreates an instance of OperationMetaMetricSpecification class. -
Method Summary
Modifier and TypeMethodDescriptionGet the aggregationType property: Metric aggregation type.Get the dimensions property: Metric dimensions.Get the displayDescription property: Metric description.Get the displayName property: Metric display name.Get the enableRegionalMdmAccount property: Whether the regional MDM account is enabled.Get the metricFilterPattern property: Metric filter.name()
Get the name property: Metric unique name.Get the sourceMdmAccount property: The source MDM account.Get the sourceMdmNamespace property: The source MDM namespace.Get the supportsInstanceLevelAggregation property: Whether the metric supports instance-level aggregation.unit()
Get the unit property: Metric units.void
validate()
Validates the instance.withAggregationType
(String aggregationType) Set the aggregationType property: Metric aggregation type.withDimensions
(List<OperationMetaMetricDimensionSpecification> dimensions) Set the dimensions property: Metric dimensions.withDisplayDescription
(String displayDescription) Set the displayDescription property: Metric description.withDisplayName
(String displayName) Set the displayName property: Metric display name.withEnableRegionalMdmAccount
(Boolean enableRegionalMdmAccount) Set the enableRegionalMdmAccount property: Whether the regional MDM account is enabled.withMetricFilterPattern
(String metricFilterPattern) Set the metricFilterPattern property: Metric filter.Set the name property: Metric unique name.withSourceMdmAccount
(String sourceMdmAccount) Set the sourceMdmAccount property: The source MDM account.withSourceMdmNamespace
(String sourceMdmNamespace) Set the sourceMdmNamespace property: The source MDM namespace.withSupportsInstanceLevelAggregation
(Boolean supportsInstanceLevelAggregation) Set the supportsInstanceLevelAggregation property: Whether the metric supports instance-level aggregation.Set the unit property: Metric units.
-
Constructor Details
-
OperationMetaMetricSpecification
public OperationMetaMetricSpecification()Creates an instance of OperationMetaMetricSpecification class.
-
-
Method Details
-
sourceMdmNamespace
Get the sourceMdmNamespace property: The source MDM namespace.- Returns:
- the sourceMdmNamespace value.
-
withSourceMdmNamespace
Set the sourceMdmNamespace property: The source MDM namespace.- Parameters:
sourceMdmNamespace
- the sourceMdmNamespace value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
displayName
Get the displayName property: Metric display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Metric display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
name
Get the name property: Metric unique name.- Returns:
- the name value.
-
withName
Set the name property: Metric unique name.- Parameters:
name
- the name value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
aggregationType
Get the aggregationType property: Metric aggregation type.- Returns:
- the aggregationType value.
-
withAggregationType
Set the aggregationType property: Metric aggregation type.- Parameters:
aggregationType
- the aggregationType value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
displayDescription
Get the displayDescription property: Metric description.- Returns:
- the displayDescription value.
-
withDisplayDescription
Set the displayDescription property: Metric description.- Parameters:
displayDescription
- the displayDescription value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
sourceMdmAccount
Get the sourceMdmAccount property: The source MDM account.- Returns:
- the sourceMdmAccount value.
-
withSourceMdmAccount
Set the sourceMdmAccount property: The source MDM account.- Parameters:
sourceMdmAccount
- the sourceMdmAccount value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
enableRegionalMdmAccount
Get the enableRegionalMdmAccount property: Whether the regional MDM account is enabled.- Returns:
- the enableRegionalMdmAccount value.
-
withEnableRegionalMdmAccount
public OperationMetaMetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount) Set the enableRegionalMdmAccount property: Whether the regional MDM account is enabled.- Parameters:
enableRegionalMdmAccount
- the enableRegionalMdmAccount value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
unit
Get the unit property: Metric units.- Returns:
- the unit value.
-
withUnit
Set the unit property: Metric units.- Parameters:
unit
- the unit value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
dimensions
Get the dimensions property: Metric dimensions.- Returns:
- the dimensions value.
-
withDimensions
public OperationMetaMetricSpecification withDimensions(List<OperationMetaMetricDimensionSpecification> dimensions) Set the dimensions property: Metric dimensions.- Parameters:
dimensions
- the dimensions value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
supportsInstanceLevelAggregation
Get the supportsInstanceLevelAggregation property: Whether the metric supports instance-level aggregation.- Returns:
- the supportsInstanceLevelAggregation value.
-
withSupportsInstanceLevelAggregation
public OperationMetaMetricSpecification withSupportsInstanceLevelAggregation(Boolean supportsInstanceLevelAggregation) Set the supportsInstanceLevelAggregation property: Whether the metric supports instance-level aggregation.- Parameters:
supportsInstanceLevelAggregation
- the supportsInstanceLevelAggregation value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
metricFilterPattern
Get the metricFilterPattern property: Metric filter.- Returns:
- the metricFilterPattern value.
-
withMetricFilterPattern
Set the metricFilterPattern property: Metric filter.- Parameters:
metricFilterPattern
- the metricFilterPattern value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-