Class OperationMetaMetricSpecification
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.OperationMetaMetricSpecification
-
public final class OperationMetaMetricSpecification extends Object
What is this?.
-
-
Constructor Summary
Constructors Constructor Description OperationMetaMetricSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
aggregationType()
Get the aggregationType property: Metric aggregation type.List<OperationMetaMetricDimensionSpecification>
dimensions()
Get the dimensions property: Metric dimensions.String
displayDescription()
Get the displayDescription property: Metric description.String
displayName()
Get the displayName property: Metric display name.Boolean
enableRegionalMdmAccount()
Get the enableRegionalMdmAccount property: Whether the regional MDM account is enabled.String
metricFilterPattern()
Get the metricFilterPattern property: Metric filter.String
name()
Get the name property: Metric unique name.String
sourceMdmAccount()
Get the sourceMdmAccount property: The source MDM account.String
sourceMdmNamespace()
Get the sourceMdmNamespace property: The source MDM namespace.Boolean
supportsInstanceLevelAggregation()
Get the supportsInstanceLevelAggregation property: Whether the metric supports instance-level aggregation.String
unit()
Get the unit property: Metric units.void
validate()
Validates the instance.OperationMetaMetricSpecification
withAggregationType(String aggregationType)
Set the aggregationType property: Metric aggregation type.OperationMetaMetricSpecification
withDimensions(List<OperationMetaMetricDimensionSpecification> dimensions)
Set the dimensions property: Metric dimensions.OperationMetaMetricSpecification
withDisplayDescription(String displayDescription)
Set the displayDescription property: Metric description.OperationMetaMetricSpecification
withDisplayName(String displayName)
Set the displayName property: Metric display name.OperationMetaMetricSpecification
withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)
Set the enableRegionalMdmAccount property: Whether the regional MDM account is enabled.OperationMetaMetricSpecification
withMetricFilterPattern(String metricFilterPattern)
Set the metricFilterPattern property: Metric filter.OperationMetaMetricSpecification
withName(String name)
Set the name property: Metric unique name.OperationMetaMetricSpecification
withSourceMdmAccount(String sourceMdmAccount)
Set the sourceMdmAccount property: The source MDM account.OperationMetaMetricSpecification
withSourceMdmNamespace(String sourceMdmNamespace)
Set the sourceMdmNamespace property: The source MDM namespace.OperationMetaMetricSpecification
withSupportsInstanceLevelAggregation(Boolean supportsInstanceLevelAggregation)
Set the supportsInstanceLevelAggregation property: Whether the metric supports instance-level aggregation.OperationMetaMetricSpecification
withUnit(String unit)
Set the unit property: Metric units.
-
-
-
Method Detail
-
sourceMdmNamespace
public String sourceMdmNamespace()
Get the sourceMdmNamespace property: The source MDM namespace.- Returns:
- the sourceMdmNamespace value.
-
withSourceMdmNamespace
public OperationMetaMetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)
Set the sourceMdmNamespace property: The source MDM namespace.- Parameters:
sourceMdmNamespace
- the sourceMdmNamespace value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
displayName
public String displayName()
Get the displayName property: Metric display name.- Returns:
- the displayName value.
-
withDisplayName
public OperationMetaMetricSpecification withDisplayName(String displayName)
Set the displayName property: Metric display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
name
public String name()
Get the name property: Metric unique name.- Returns:
- the name value.
-
withName
public OperationMetaMetricSpecification withName(String name)
Set the name property: Metric unique name.- Parameters:
name
- the name value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
aggregationType
public String aggregationType()
Get the aggregationType property: Metric aggregation type.- Returns:
- the aggregationType value.
-
withAggregationType
public OperationMetaMetricSpecification withAggregationType(String aggregationType)
Set the aggregationType property: Metric aggregation type.- Parameters:
aggregationType
- the aggregationType value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
displayDescription
public String displayDescription()
Get the displayDescription property: Metric description.- Returns:
- the displayDescription value.
-
withDisplayDescription
public OperationMetaMetricSpecification withDisplayDescription(String displayDescription)
Set the displayDescription property: Metric description.- Parameters:
displayDescription
- the displayDescription value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
sourceMdmAccount
public String sourceMdmAccount()
Get the sourceMdmAccount property: The source MDM account.- Returns:
- the sourceMdmAccount value.
-
withSourceMdmAccount
public OperationMetaMetricSpecification withSourceMdmAccount(String sourceMdmAccount)
Set the sourceMdmAccount property: The source MDM account.- Parameters:
sourceMdmAccount
- the sourceMdmAccount value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
enableRegionalMdmAccount
public Boolean 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
public String unit()
Get the unit property: Metric units.- Returns:
- the unit value.
-
withUnit
public OperationMetaMetricSpecification withUnit(String unit)
Set the unit property: Metric units.- Parameters:
unit
- the unit value to set.- Returns:
- the OperationMetaMetricSpecification object itself.
-
dimensions
public List<OperationMetaMetricDimensionSpecification> 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
public Boolean 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
public String metricFilterPattern()
Get the metricFilterPattern property: Metric filter.- Returns:
- the metricFilterPattern value.
-
withMetricFilterPattern
public OperationMetaMetricSpecification withMetricFilterPattern(String metricFilterPattern)
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.
-
-