MetricSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. MetricSpecification
- com.
public final class MetricSpecification
Metric specification of operation.
Constructor Summary
Constructor | Description |
---|---|
MetricSpecification() |
Creates an instance of Metric |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
aggregationType()
Get the aggregation |
String |
category()
Get the category property: The category this metric specification belong to, could be Capacity. |
List<Dimension> |
dimensions()
Get the dimensions property: Dimensions of blobs, including blob type and access tier. |
String |
displayDescription()
Get the display |
String |
displayName()
Get the display |
Boolean |
enableRegionalMdmAccount()
Get the enable |
Boolean |
fillGapWithZero()
Get the fill |
String |
internalMetricName()
Get the internal |
Boolean |
isInternal()
Get the is |
String |
name()
Get the name property: Name of metric specification. |
String |
resourceIdDimensionNameOverride()
Get the resource |
String |
sourceMdmAccount()
Get the source |
String |
sourceMdmNamespace()
Get the source |
List<Metric |
supportedAggregationTypes()
Get the supported |
List<String> |
supportedTimeGrainTypes()
Get the supported |
String |
unit()
Get the unit property: Unit could be Bytes or Count. |
void |
validate()
Validates the instance. |
Metric |
withAggregationType(String aggregationType)
Set the aggregation |
Metric |
withCategory(String category)
Set the category property: The category this metric specification belong to, could be Capacity. |
Metric |
withDimensions(List<Dimension> dimensions)
Set the dimensions property: Dimensions of blobs, including blob type and access tier. |
Metric |
withDisplayDescription(String displayDescription)
Set the display |
Metric |
withDisplayName(String displayName)
Set the display |
Metric |
withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)
Set the enable |
Metric |
withFillGapWithZero(Boolean fillGapWithZero)
Set the fill |
Metric |
withInternalMetricName(String internalMetricName)
Set the internal |
Metric |
withIsInternal(Boolean isInternal)
Set the is |
Metric |
withName(String name)
Set the name property: Name of metric specification. |
Metric |
withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
Set the resource |
Metric |
withSourceMdmAccount(String sourceMdmAccount)
Set the source |
Metric |
withSourceMdmNamespace(String sourceMdmNamespace)
Set the source |
Metric |
withSupportedAggregationTypes(List<MetricAggregationType> supportedAggregationTypes)
Set the supported |
Metric |
withSupportedTimeGrainTypes(List<String> supportedTimeGrainTypes)
Set the supported |
Metric |
withUnit(String unit)
Set the unit property: Unit could be Bytes or Count. |
Methods inherited from java.lang.Object
Constructor Details
MetricSpecification
public MetricSpecification()
Creates an instance of MetricSpecification class.
Method Details
aggregationType
public String aggregationType()
Get the aggregationType property: Aggregation type could be Average.
Returns:
category
public String category()
Get the category property: The category this metric specification belong to, could be Capacity.
Returns:
dimensions
public List
Get the dimensions property: Dimensions of blobs, including blob type and access tier.
Returns:
displayDescription
public String displayDescription()
Get the displayDescription property: Display description of metric specification.
Returns:
displayName
public String displayName()
Get the displayName property: Display name of metric specification.
Returns:
enableRegionalMdmAccount
public Boolean enableRegionalMdmAccount()
Get the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.
Returns:
fillGapWithZero
public Boolean fillGapWithZero()
Get the fillGapWithZero property: The property to decide fill gap with zero or not.
Returns:
internalMetricName
public String internalMetricName()
Get the internalMetricName property: The internal metric name.
Returns:
isInternal
public Boolean isInternal()
Get the isInternal property: Whether the metric is internal.
Returns:
name
public String name()
Get the name property: Name of metric specification.
Returns:
resourceIdDimensionNameOverride
public String resourceIdDimensionNameOverride()
Get the resourceIdDimensionNameOverride property: Account Resource Id.
Returns:
sourceMdmAccount
public String sourceMdmAccount()
Get the sourceMdmAccount property: The source MDM account.
Returns:
sourceMdmNamespace
public String sourceMdmNamespace()
Get the sourceMdmNamespace property: The source MDM namespace.
Returns:
supportedAggregationTypes
public List
Get the supportedAggregationTypes property: Support metric aggregation type.
Returns:
supportedTimeGrainTypes
public List
Get the supportedTimeGrainTypes property: The supported time grain types for the metrics.
Returns:
unit
public String unit()
Get the unit property: Unit could be Bytes or Count.
Returns:
validate
public void validate()
Validates the instance.
withAggregationType
public MetricSpecification withAggregationType(String aggregationType)
Set the aggregationType property: Aggregation type could be Average.
Parameters:
Returns:
withCategory
public MetricSpecification withCategory(String category)
Set the category property: The category this metric specification belong to, could be Capacity.
Parameters:
Returns:
withDimensions
public MetricSpecification withDimensions(List
Set the dimensions property: Dimensions of blobs, including blob type and access tier.
Parameters:
Returns:
withDisplayDescription
public MetricSpecification withDisplayDescription(String displayDescription)
Set the displayDescription property: Display description of metric specification.
Parameters:
Returns:
withDisplayName
public MetricSpecification withDisplayName(String displayName)
Set the displayName property: Display name of metric specification.
Parameters:
Returns:
withEnableRegionalMdmAccount
public MetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)
Set the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.
Parameters:
Returns:
withFillGapWithZero
public MetricSpecification withFillGapWithZero(Boolean fillGapWithZero)
Set the fillGapWithZero property: The property to decide fill gap with zero or not.
Parameters:
Returns:
withInternalMetricName
public MetricSpecification withInternalMetricName(String internalMetricName)
Set the internalMetricName property: The internal metric name.
Parameters:
Returns:
withIsInternal
public MetricSpecification withIsInternal(Boolean isInternal)
Set the isInternal property: Whether the metric is internal.
Parameters:
Returns:
withName
public MetricSpecification withName(String name)
Set the name property: Name of metric specification.
Parameters:
Returns:
withResourceIdDimensionNameOverride
public MetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
Set the resourceIdDimensionNameOverride property: Account Resource Id.
Parameters:
Returns:
withSourceMdmAccount
public MetricSpecification withSourceMdmAccount(String sourceMdmAccount)
Set the sourceMdmAccount property: The source MDM account.
Parameters:
Returns:
withSourceMdmNamespace
public MetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)
Set the sourceMdmNamespace property: The source MDM namespace.
Parameters:
Returns:
withSupportedAggregationTypes
public MetricSpecification withSupportedAggregationTypes(List
Set the supportedAggregationTypes property: Support metric aggregation type.
Parameters:
Returns:
withSupportedTimeGrainTypes
public MetricSpecification withSupportedTimeGrainTypes(List
Set the supportedTimeGrainTypes property: The supported time grain types for the metrics.
Parameters:
Returns:
withUnit
public MetricSpecification withUnit(String unit)
Set the unit property: Unit could be Bytes or Count.
Parameters:
Returns:
Applies to
Azure SDK for Java