public final class OperationMetaMetricSpecification extends Object
Constructor and Description |
---|
OperationMetaMetricSpecification() |
Modifier and Type | Method and 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.
|
public String sourceMdmNamespace()
public OperationMetaMetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)
sourceMdmNamespace
- the sourceMdmNamespace value to set.public String displayName()
public OperationMetaMetricSpecification withDisplayName(String displayName)
displayName
- the displayName value to set.public String name()
public OperationMetaMetricSpecification withName(String name)
name
- the name value to set.public String aggregationType()
public OperationMetaMetricSpecification withAggregationType(String aggregationType)
aggregationType
- the aggregationType value to set.public String displayDescription()
public OperationMetaMetricSpecification withDisplayDescription(String displayDescription)
displayDescription
- the displayDescription value to set.public String sourceMdmAccount()
public OperationMetaMetricSpecification withSourceMdmAccount(String sourceMdmAccount)
sourceMdmAccount
- the sourceMdmAccount value to set.public Boolean enableRegionalMdmAccount()
public OperationMetaMetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)
enableRegionalMdmAccount
- the enableRegionalMdmAccount value to set.public String unit()
public OperationMetaMetricSpecification withUnit(String unit)
unit
- the unit value to set.public List<OperationMetaMetricDimensionSpecification> dimensions()
public OperationMetaMetricSpecification withDimensions(List<OperationMetaMetricDimensionSpecification> dimensions)
dimensions
- the dimensions value to set.public Boolean supportsInstanceLevelAggregation()
public OperationMetaMetricSpecification withSupportsInstanceLevelAggregation(Boolean supportsInstanceLevelAggregation)
supportsInstanceLevelAggregation
- the supportsInstanceLevelAggregation value to set.public String metricFilterPattern()
public OperationMetaMetricSpecification withMetricFilterPattern(String metricFilterPattern)
metricFilterPattern
- the metricFilterPattern value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.