Class MetricSpecification
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.MetricSpecification
-
public final class MetricSpecification extends Object
A metric emitted by service.
-
-
Constructor Summary
Constructors Constructor Description MetricSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricAggregationType
aggregationType()
Get the aggregationType property: The metric aggregation type.List<MetricDimension>
dimensions()
Get the dimensions property: The metric dimensions.String
displayDescription()
Get the displayDescription property: The metric display description.String
displayName()
Get the displayName property: The metric display name.Boolean
enableRegionalMdmAccount()
Get the enableRegionalMdmAccount property: Indicates whether regional MDM account is enabled.MetricAggregationType
lockAggregationType()
Get the lockAggregationType property: The metric lock aggregation type.String
name()
Get the name property: The metric name.String
sourceMdmAccount()
Get the sourceMdmAccount property: The source MDM account.String
sourceMdmNamespace()
Get the sourceMdmNamespace property: The source MDM namespace.List<String>
supportedAggregationTypes()
Get the supportedAggregationTypes property: Supported aggregation types.List<String>
supportedTimeGrainTypes()
Get the supportedTimeGrainTypes property: The supported time grain types.MetricUnit
unit()
Get the unit property: The metric unit.void
validate()
Validates the instance.MetricSpecification
withSupportedAggregationTypes(List<String> supportedAggregationTypes)
Set the supportedAggregationTypes property: Supported aggregation types.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The metric name.- Returns:
- the name value.
-
displayName
public String displayName()
Get the displayName property: The metric display name.- Returns:
- the displayName value.
-
displayDescription
public String displayDescription()
Get the displayDescription property: The metric display description.- Returns:
- the displayDescription value.
-
unit
public MetricUnit unit()
Get the unit property: The metric unit.- Returns:
- the unit value.
-
aggregationType
public MetricAggregationType aggregationType()
Get the aggregationType property: The metric aggregation type.- Returns:
- the aggregationType value.
-
lockAggregationType
public MetricAggregationType lockAggregationType()
Get the lockAggregationType property: The metric lock aggregation type.- Returns:
- the lockAggregationType value.
-
supportedAggregationTypes
public List<String> supportedAggregationTypes()
Get the supportedAggregationTypes property: Supported aggregation types.- Returns:
- the supportedAggregationTypes value.
-
withSupportedAggregationTypes
public MetricSpecification withSupportedAggregationTypes(List<String> supportedAggregationTypes)
Set the supportedAggregationTypes property: Supported aggregation types.- Parameters:
supportedAggregationTypes
- the supportedAggregationTypes value to set.- Returns:
- the MetricSpecification object itself.
-
dimensions
public List<MetricDimension> dimensions()
Get the dimensions property: The metric dimensions.- Returns:
- the dimensions value.
-
enableRegionalMdmAccount
public Boolean enableRegionalMdmAccount()
Get the enableRegionalMdmAccount property: Indicates whether regional MDM account is enabled.- Returns:
- the enableRegionalMdmAccount value.
-
sourceMdmAccount
public String sourceMdmAccount()
Get the sourceMdmAccount property: The source MDM account.- Returns:
- the sourceMdmAccount value.
-
sourceMdmNamespace
public String sourceMdmNamespace()
Get the sourceMdmNamespace property: The source MDM namespace.- Returns:
- the sourceMdmNamespace value.
-
supportedTimeGrainTypes
public List<String> 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.
-
-