Class MetricSpecification
java.lang.Object
com.microsoft.azure.management.storage.MetricSpecification
Metric specification of operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet aggregation type could be Average.category()
Get the category this metric specification belong to, could be Capacity.Get dimensions of blobs, including blob type and access tier.Get display description of metric specification.Get display name of metric specification.Get the property to decide fill gap with zero or not.name()
Get name of metric specification.Get account Resource Id.unit()
Get unit could be Bytes or Count.withAggregationType
(String aggregationType) Set aggregation type could be Average.withCategory
(String category) Set the category this metric specification belong to, could be Capacity.withDimensions
(List<Dimension> dimensions) Set dimensions of blobs, including blob type and access tier.withDisplayDescription
(String displayDescription) Set display description of metric specification.withDisplayName
(String displayName) Set display name of metric specification.withFillGapWithZero
(Boolean fillGapWithZero) Set the property to decide fill gap with zero or not.Set name of metric specification.withResourceIdDimensionNameOverride
(String resourceIdDimensionNameOverride) Set account Resource Id.Set unit could be Bytes or Count.
-
Constructor Details
-
MetricSpecification
public MetricSpecification()
-
-
Method Details
-
name
Get name of metric specification.- Returns:
- the name value
-
withName
Set name of metric specification.- Parameters:
name
- the name value to set- Returns:
- the MetricSpecification object itself.
-
displayName
Get display name of metric specification.- Returns:
- the displayName value
-
withDisplayName
Set display name of metric specification.- Parameters:
displayName
- the displayName value to set- Returns:
- the MetricSpecification object itself.
-
displayDescription
Get display description of metric specification.- Returns:
- the displayDescription value
-
withDisplayDescription
Set display description of metric specification.- Parameters:
displayDescription
- the displayDescription value to set- Returns:
- the MetricSpecification object itself.
-
unit
Get unit could be Bytes or Count.- Returns:
- the unit value
-
withUnit
Set unit could be Bytes or Count.- Parameters:
unit
- the unit value to set- Returns:
- the MetricSpecification object itself.
-
dimensions
Get dimensions of blobs, including blob type and access tier.- Returns:
- the dimensions value
-
withDimensions
Set dimensions of blobs, including blob type and access tier.- Parameters:
dimensions
- the dimensions value to set- Returns:
- the MetricSpecification object itself.
-
aggregationType
Get aggregation type could be Average.- Returns:
- the aggregationType value
-
withAggregationType
Set aggregation type could be Average.- Parameters:
aggregationType
- the aggregationType value to set- Returns:
- the MetricSpecification object itself.
-
fillGapWithZero
Get the property to decide fill gap with zero or not.- Returns:
- the fillGapWithZero value
-
withFillGapWithZero
Set the property to decide fill gap with zero or not.- Parameters:
fillGapWithZero
- the fillGapWithZero value to set- Returns:
- the MetricSpecification object itself.
-
category
Get the category this metric specification belong to, could be Capacity.- Returns:
- the category value
-
withCategory
Set the category this metric specification belong to, could be Capacity.- Parameters:
category
- the category value to set- Returns:
- the MetricSpecification object itself.
-
resourceIdDimensionNameOverride
Get account Resource Id.- Returns:
- the resourceIdDimensionNameOverride value
-
withResourceIdDimensionNameOverride
public MetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride) Set account Resource Id.- Parameters:
resourceIdDimensionNameOverride
- the resourceIdDimensionNameOverride value to set- Returns:
- the MetricSpecification object itself.
-