public class MetricSpecification extends Object
| Constructor and Description |
|---|
MetricSpecification() |
| Modifier and Type | Method and Description |
|---|---|
String |
aggregationType()
Get aggregation type could be Average.
|
String |
category()
Get the category this metric specification belong to, could be Capacity.
|
List<Dimension> |
dimensions()
Get dimensions of blobs, including blob type and access tier.
|
String |
displayDescription()
Get display description of metric specification.
|
String |
displayName()
Get display name of metric specification.
|
Boolean |
fillGapWithZero()
Get the property to decide fill gap with zero or not.
|
String |
name()
Get name of metric specification.
|
String |
resourceIdDimensionNameOverride()
Get account Resource Id.
|
String |
unit()
Get unit could be Bytes or Count.
|
MetricSpecification |
withAggregationType(String aggregationType)
Set aggregation type could be Average.
|
MetricSpecification |
withCategory(String category)
Set the category this metric specification belong to, could be Capacity.
|
MetricSpecification |
withDimensions(List<Dimension> dimensions)
Set dimensions of blobs, including blob type and access tier.
|
MetricSpecification |
withDisplayDescription(String displayDescription)
Set display description of metric specification.
|
MetricSpecification |
withDisplayName(String displayName)
Set display name of metric specification.
|
MetricSpecification |
withFillGapWithZero(Boolean fillGapWithZero)
Set the property to decide fill gap with zero or not.
|
MetricSpecification |
withName(String name)
Set name of metric specification.
|
MetricSpecification |
withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
Set account Resource Id.
|
MetricSpecification |
withUnit(String unit)
Set unit could be Bytes or Count.
|
public String name()
public MetricSpecification withName(String name)
name - the name value to setpublic String displayName()
public MetricSpecification withDisplayName(String displayName)
displayName - the displayName value to setpublic String displayDescription()
public MetricSpecification withDisplayDescription(String displayDescription)
displayDescription - the displayDescription value to setpublic String unit()
public MetricSpecification withUnit(String unit)
unit - the unit value to setpublic List<Dimension> dimensions()
public MetricSpecification withDimensions(List<Dimension> dimensions)
dimensions - the dimensions value to setpublic String aggregationType()
public MetricSpecification withAggregationType(String aggregationType)
aggregationType - the aggregationType value to setpublic Boolean fillGapWithZero()
public MetricSpecification withFillGapWithZero(Boolean fillGapWithZero)
fillGapWithZero - the fillGapWithZero value to setpublic String category()
public MetricSpecification withCategory(String category)
category - the category value to setpublic String resourceIdDimensionNameOverride()
public MetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
resourceIdDimensionNameOverride - the resourceIdDimensionNameOverride value to setCopyright © 2019. All rights reserved.