public final class OperationMetaMetricSpecification extends Object
Constructor and Description |
---|
OperationMetaMetricSpecification() |
Modifier and Type | Method and Description |
---|---|
String |
aggregationType()
Get the aggregationType property: aggregation type of metric.
|
List<DimensionProperties> |
dimensions()
Get the dimensions property: properties for dimension.
|
String |
displayDescription()
Get the displayDescription property: description of the metric.
|
String |
displayName()
Get the displayName property: localized name of the metric.
|
String |
enableRegionalMdmAccount()
Get the enableRegionalMdmAccount property: enable regional mdm account.
|
String |
internalMetricName()
Get the internalMetricName property: internal metric name.
|
String |
name()
Get the name property: name of the metric.
|
String |
resourceIdDimensionNameOverride()
Get the resourceIdDimensionNameOverride property: dimension name use to replace resource id if specified.
|
String |
sourceMdmNamespace()
Get the sourceMdmNamespace property: Metric namespace.
|
List<String> |
supportedAggregationTypes()
Get the supportedAggregationTypes property: supported aggregation types.
|
List<String> |
supportedTimeGrainTypes()
Get the supportedTimeGrainTypes property: supported time grain types.
|
String |
unit()
Get the unit property: units for the metric.
|
void |
validate()
Validates the instance.
|
OperationMetaMetricSpecification |
withAggregationType(String aggregationType)
Set the aggregationType property: aggregation type of metric.
|
OperationMetaMetricSpecification |
withDimensions(List<DimensionProperties> dimensions)
Set the dimensions property: properties for dimension.
|
OperationMetaMetricSpecification |
withDisplayDescription(String displayDescription)
Set the displayDescription property: description of the metric.
|
OperationMetaMetricSpecification |
withDisplayName(String displayName)
Set the displayName property: localized name of the metric.
|
OperationMetaMetricSpecification |
withEnableRegionalMdmAccount(String enableRegionalMdmAccount)
Set the enableRegionalMdmAccount property: enable regional mdm account.
|
OperationMetaMetricSpecification |
withInternalMetricName(String internalMetricName)
Set the internalMetricName property: internal metric name.
|
OperationMetaMetricSpecification |
withName(String name)
Set the name property: name of the metric.
|
OperationMetaMetricSpecification |
withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
Set the resourceIdDimensionNameOverride property: dimension name use to replace resource id if specified.
|
OperationMetaMetricSpecification |
withSourceMdmNamespace(String sourceMdmNamespace)
Set the sourceMdmNamespace property: Metric namespace.
|
OperationMetaMetricSpecification |
withSupportedAggregationTypes(List<String> supportedAggregationTypes)
Set the supportedAggregationTypes property: supported aggregation types.
|
OperationMetaMetricSpecification |
withSupportedTimeGrainTypes(List<String> supportedTimeGrainTypes)
Set the supportedTimeGrainTypes property: supported time grain types.
|
OperationMetaMetricSpecification |
withUnit(String unit)
Set the unit property: units for the metric.
|
public String aggregationType()
public OperationMetaMetricSpecification withAggregationType(String aggregationType)
aggregationType
- the aggregationType value to set.public List<DimensionProperties> dimensions()
public OperationMetaMetricSpecification withDimensions(List<DimensionProperties> dimensions)
dimensions
- the dimensions value to set.public String displayDescription()
public OperationMetaMetricSpecification withDisplayDescription(String displayDescription)
displayDescription
- the displayDescription value to set.public String displayName()
public OperationMetaMetricSpecification withDisplayName(String displayName)
displayName
- the displayName value to set.public String enableRegionalMdmAccount()
public OperationMetaMetricSpecification withEnableRegionalMdmAccount(String enableRegionalMdmAccount)
enableRegionalMdmAccount
- the enableRegionalMdmAccount value to set.public String internalMetricName()
public OperationMetaMetricSpecification withInternalMetricName(String internalMetricName)
internalMetricName
- the internalMetricName value to set.public String name()
public OperationMetaMetricSpecification withName(String name)
name
- the name value to set.public String resourceIdDimensionNameOverride()
public OperationMetaMetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
resourceIdDimensionNameOverride
- the resourceIdDimensionNameOverride value to set.public String sourceMdmNamespace()
public OperationMetaMetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)
sourceMdmNamespace
- the sourceMdmNamespace value to set.public List<String> supportedAggregationTypes()
public OperationMetaMetricSpecification withSupportedAggregationTypes(List<String> supportedAggregationTypes)
supportedAggregationTypes
- the supportedAggregationTypes value to set.public List<String> supportedTimeGrainTypes()
public OperationMetaMetricSpecification withSupportedTimeGrainTypes(List<String> supportedTimeGrainTypes)
supportedTimeGrainTypes
- the supportedTimeGrainTypes value to set.public String unit()
public OperationMetaMetricSpecification withUnit(String unit)
unit
- the unit value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.