Class MetricSpecification
java.lang.Object
com.azure.resourcemanager.mediaservices.models.MetricSpecification
A metric emitted by service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aggregationType property: The metric aggregation type.Get the dimensions property: The metric dimensions.Get the displayDescription property: The metric display description.Get the displayName property: The metric display name.Get the enableRegionalMdmAccount property: Indicates whether regional MDM account is enabled.Get the lockAggregationType property: The metric lock aggregation type.name()
Get the name property: The metric name.Get the sourceMdmAccount property: The source MDM account.Get the sourceMdmNamespace property: The source MDM namespace.Get the supportedAggregationTypes property: Supported aggregation types.Get the supportedTimeGrainTypes property: The supported time grain types.unit()
Get the unit property: The metric unit.void
validate()
Validates the instance.withSupportedAggregationTypes
(List<String> supportedAggregationTypes) Set the supportedAggregationTypes property: Supported aggregation types.
-
Constructor Details
-
MetricSpecification
public MetricSpecification()Creates an instance of MetricSpecification class.
-
-
Method Details
-
name
Get the name property: The metric name.- Returns:
- the name value.
-
displayName
Get the displayName property: The metric display name.- Returns:
- the displayName value.
-
displayDescription
Get the displayDescription property: The metric display description.- Returns:
- the displayDescription value.
-
unit
Get the unit property: The metric unit.- Returns:
- the unit value.
-
aggregationType
Get the aggregationType property: The metric aggregation type.- Returns:
- the aggregationType value.
-
lockAggregationType
Get the lockAggregationType property: The metric lock aggregation type.- Returns:
- the lockAggregationType value.
-
supportedAggregationTypes
Get the supportedAggregationTypes property: Supported aggregation types.- Returns:
- the supportedAggregationTypes value.
-
withSupportedAggregationTypes
Set the supportedAggregationTypes property: Supported aggregation types.- Parameters:
supportedAggregationTypes
- the supportedAggregationTypes value to set.- Returns:
- the MetricSpecification object itself.
-
dimensions
Get the dimensions property: The metric dimensions.- Returns:
- the dimensions value.
-
enableRegionalMdmAccount
Get the enableRegionalMdmAccount property: Indicates whether regional MDM account is enabled.- Returns:
- the enableRegionalMdmAccount value.
-
sourceMdmAccount
Get the sourceMdmAccount property: The source MDM account.- Returns:
- the sourceMdmAccount value.
-
sourceMdmNamespace
Get the sourceMdmNamespace property: The source MDM namespace.- Returns:
- the sourceMdmNamespace value.
-
supportedTimeGrainTypes
Get the supportedTimeGrainTypes property: The supported time grain types.- Returns:
- the supportedTimeGrainTypes value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-