Class OperationMetricSpecificationDefinition
java.lang.Object
com.microsoft.azure.management.containerregistry.OperationMetricSpecificationDefinition
The definition of Azure Monitoring metric.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet metric aggregation type.Get metric description.Get metric display name.Get internal metric name.name()
Get metric name.unit()
Get metric unit.withAggregationType
(String aggregationType) Set metric aggregation type.withDisplayDescription
(String displayDescription) Set metric description.withDisplayName
(String displayName) Set metric display name.withInternalMetricName
(String internalMetricName) Set internal metric name.Set metric name.Set metric unit.
-
Constructor Details
-
OperationMetricSpecificationDefinition
public OperationMetricSpecificationDefinition()
-
-
Method Details
-
name
Get metric name.- Returns:
- the name value
-
withName
Set metric name.- Parameters:
name
- the name value to set- Returns:
- the OperationMetricSpecificationDefinition object itself.
-
displayName
Get metric display name.- Returns:
- the displayName value
-
withDisplayName
Set metric display name.- Parameters:
displayName
- the displayName value to set- Returns:
- the OperationMetricSpecificationDefinition object itself.
-
displayDescription
Get metric description.- Returns:
- the displayDescription value
-
withDisplayDescription
Set metric description.- Parameters:
displayDescription
- the displayDescription value to set- Returns:
- the OperationMetricSpecificationDefinition object itself.
-
unit
Get metric unit.- Returns:
- the unit value
-
withUnit
Set metric unit.- Parameters:
unit
- the unit value to set- Returns:
- the OperationMetricSpecificationDefinition object itself.
-
aggregationType
Get metric aggregation type.- Returns:
- the aggregationType value
-
withAggregationType
Set metric aggregation type.- Parameters:
aggregationType
- the aggregationType value to set- Returns:
- the OperationMetricSpecificationDefinition object itself.
-
internalMetricName
Get internal metric name.- Returns:
- the internalMetricName value
-
withInternalMetricName
Set internal metric name.- Parameters:
internalMetricName
- the internalMetricName value to set- Returns:
- the OperationMetricSpecificationDefinition object itself.
-