Class MetricSpecification
java.lang.Object
com.microsoft.azure.management.network.MetricSpecification
Description of metrics specification.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the aggregation type.Get list of availability.Get list of dimensions.Get the description of the metric.Get the display name of the metric.Get whether regional MDM account enabled.Get whether gaps would be filled with zeros.Get whether the metric is internal.Get pattern for the filter of the metric.name()
Get the name of the metric.Get the resource Id dimension name override.Get the source MDM account.Get the source MDM namespace.unit()
Get units the metric to be displayed in.withAggregationType
(String aggregationType) Set the aggregation type.withAvailabilities
(List<Availability> availabilities) Set list of availability.withDimensions
(List<Dimension> dimensions) Set list of dimensions.withDisplayDescription
(String displayDescription) Set the description of the metric.withDisplayName
(String displayName) Set the display name of the metric.withEnableRegionalMdmAccount
(Boolean enableRegionalMdmAccount) Set whether regional MDM account enabled.withFillGapWithZero
(Boolean fillGapWithZero) Set whether gaps would be filled with zeros.withIsInternal
(Boolean isInternal) Set whether the metric is internal.withMetricFilterPattern
(String metricFilterPattern) Set pattern for the filter of the metric.Set the name of the metric.withResourceIdDimensionNameOverride
(String resourceIdDimensionNameOverride) Set the resource Id dimension name override.withSourceMdmAccount
(String sourceMdmAccount) Set the source MDM account.withSourceMdmNamespace
(String sourceMdmNamespace) Set the source MDM namespace.Set units the metric to be displayed in.
-
Constructor Details
-
MetricSpecification
public MetricSpecification()
-
-
Method Details
-
name
Get the name of the metric.- Returns:
- the name value
-
withName
Set the name of the metric.- Parameters:
name
- the name value to set- Returns:
- the MetricSpecification object itself.
-
displayName
Get the display name of the metric.- Returns:
- the displayName value
-
withDisplayName
Set the display name of the metric.- Parameters:
displayName
- the displayName value to set- Returns:
- the MetricSpecification object itself.
-
displayDescription
Get the description of the metric.- Returns:
- the displayDescription value
-
withDisplayDescription
Set the description of the metric.- Parameters:
displayDescription
- the displayDescription value to set- Returns:
- the MetricSpecification object itself.
-
unit
Get units the metric to be displayed in.- Returns:
- the unit value
-
withUnit
Set units the metric to be displayed in.- Parameters:
unit
- the unit value to set- Returns:
- the MetricSpecification object itself.
-
aggregationType
Get the aggregation type.- Returns:
- the aggregationType value
-
withAggregationType
Set the aggregation type.- Parameters:
aggregationType
- the aggregationType value to set- Returns:
- the MetricSpecification object itself.
-
availabilities
Get list of availability.- Returns:
- the availabilities value
-
withAvailabilities
Set list of availability.- Parameters:
availabilities
- the availabilities value to set- Returns:
- the MetricSpecification object itself.
-
enableRegionalMdmAccount
Get whether regional MDM account enabled.- Returns:
- the enableRegionalMdmAccount value
-
withEnableRegionalMdmAccount
Set whether regional MDM account enabled.- Parameters:
enableRegionalMdmAccount
- the enableRegionalMdmAccount value to set- Returns:
- the MetricSpecification object itself.
-
fillGapWithZero
Get whether gaps would be filled with zeros.- Returns:
- the fillGapWithZero value
-
withFillGapWithZero
Set whether gaps would be filled with zeros.- Parameters:
fillGapWithZero
- the fillGapWithZero value to set- Returns:
- the MetricSpecification object itself.
-
metricFilterPattern
Get pattern for the filter of the metric.- Returns:
- the metricFilterPattern value
-
withMetricFilterPattern
Set pattern for the filter of the metric.- Parameters:
metricFilterPattern
- the metricFilterPattern value to set- Returns:
- the MetricSpecification object itself.
-
dimensions
Get list of dimensions.- Returns:
- the dimensions value
-
withDimensions
Set list of dimensions.- Parameters:
dimensions
- the dimensions value to set- Returns:
- the MetricSpecification object itself.
-
isInternal
Get whether the metric is internal.- Returns:
- the isInternal value
-
withIsInternal
Set whether the metric is internal.- Parameters:
isInternal
- the isInternal value to set- Returns:
- the MetricSpecification object itself.
-
sourceMdmAccount
Get the source MDM account.- Returns:
- the sourceMdmAccount value
-
withSourceMdmAccount
Set the source MDM account.- Parameters:
sourceMdmAccount
- the sourceMdmAccount value to set- Returns:
- the MetricSpecification object itself.
-
sourceMdmNamespace
Get the source MDM namespace.- Returns:
- the sourceMdmNamespace value
-
withSourceMdmNamespace
Set the source MDM namespace.- Parameters:
sourceMdmNamespace
- the sourceMdmNamespace value to set- Returns:
- the MetricSpecification object itself.
-
resourceIdDimensionNameOverride
Get the resource Id dimension name override.- Returns:
- the resourceIdDimensionNameOverride value
-
withResourceIdDimensionNameOverride
public MetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride) Set the resource Id dimension name override.- Parameters:
resourceIdDimensionNameOverride
- the resourceIdDimensionNameOverride value to set- Returns:
- the MetricSpecification object itself.
-