Class MetricSpecification
- java.lang.Object
-
- com.microsoft.azure.management.network.MetricSpecification
-
public class MetricSpecification extends Object
Description of metrics specification.
-
-
Constructor Summary
Constructors Constructor Description MetricSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaggregationType()Get the aggregationType value.List<Availability>availabilities()Get the availabilities value.List<Dimension>dimensions()Get the dimensions value.StringdisplayDescription()Get the displayDescription value.StringdisplayName()Get the displayName value.BooleanenableRegionalMdmAccount()Get the enableRegionalMdmAccount value.BooleanfillGapWithZero()Get the fillGapWithZero value.BooleanisInternal()Get the isInternal value.StringmetricFilterPattern()Get the metricFilterPattern value.Stringname()Get the name value.StringresourceIdDimensionNameOverride()Get the resourceIdDimensionNameOverride value.StringsourceMdmAccount()Get the sourceMdmAccount value.StringsourceMdmNamespace()Get the sourceMdmNamespace value.Stringunit()Get the unit value.MetricSpecificationwithAggregationType(String aggregationType)Set the aggregationType value.MetricSpecificationwithAvailabilities(List<Availability> availabilities)Set the availabilities value.MetricSpecificationwithDimensions(List<Dimension> dimensions)Set the dimensions value.MetricSpecificationwithDisplayDescription(String displayDescription)Set the displayDescription value.MetricSpecificationwithDisplayName(String displayName)Set the displayName value.MetricSpecificationwithEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)Set the enableRegionalMdmAccount value.MetricSpecificationwithFillGapWithZero(Boolean fillGapWithZero)Set the fillGapWithZero value.MetricSpecificationwithIsInternal(Boolean isInternal)Set the isInternal value.MetricSpecificationwithMetricFilterPattern(String metricFilterPattern)Set the metricFilterPattern value.MetricSpecificationwithName(String name)Set the name value.MetricSpecificationwithResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)Set the resourceIdDimensionNameOverride value.MetricSpecificationwithSourceMdmAccount(String sourceMdmAccount)Set the sourceMdmAccount value.MetricSpecificationwithSourceMdmNamespace(String sourceMdmNamespace)Set the sourceMdmNamespace value.MetricSpecificationwithUnit(String unit)Set the unit value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public MetricSpecification withName(String name)
Set the name value.- Parameters:
name- the name value to set- Returns:
- the MetricSpecification object itself.
-
displayName
public String displayName()
Get the displayName value.- Returns:
- the displayName value
-
withDisplayName
public MetricSpecification withDisplayName(String displayName)
Set the displayName value.- Parameters:
displayName- the displayName value to set- Returns:
- the MetricSpecification object itself.
-
displayDescription
public String displayDescription()
Get the displayDescription value.- Returns:
- the displayDescription value
-
withDisplayDescription
public MetricSpecification withDisplayDescription(String displayDescription)
Set the displayDescription value.- Parameters:
displayDescription- the displayDescription value to set- Returns:
- the MetricSpecification object itself.
-
unit
public String unit()
Get the unit value.- Returns:
- the unit value
-
withUnit
public MetricSpecification withUnit(String unit)
Set the unit value.- Parameters:
unit- the unit value to set- Returns:
- the MetricSpecification object itself.
-
aggregationType
public String aggregationType()
Get the aggregationType value.- Returns:
- the aggregationType value
-
withAggregationType
public MetricSpecification withAggregationType(String aggregationType)
Set the aggregationType value.- Parameters:
aggregationType- the aggregationType value to set- Returns:
- the MetricSpecification object itself.
-
availabilities
public List<Availability> availabilities()
Get the availabilities value.- Returns:
- the availabilities value
-
withAvailabilities
public MetricSpecification withAvailabilities(List<Availability> availabilities)
Set the availabilities value.- Parameters:
availabilities- the availabilities value to set- Returns:
- the MetricSpecification object itself.
-
enableRegionalMdmAccount
public Boolean enableRegionalMdmAccount()
Get the enableRegionalMdmAccount value.- Returns:
- the enableRegionalMdmAccount value
-
withEnableRegionalMdmAccount
public MetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)
Set the enableRegionalMdmAccount value.- Parameters:
enableRegionalMdmAccount- the enableRegionalMdmAccount value to set- Returns:
- the MetricSpecification object itself.
-
fillGapWithZero
public Boolean fillGapWithZero()
Get the fillGapWithZero value.- Returns:
- the fillGapWithZero value
-
withFillGapWithZero
public MetricSpecification withFillGapWithZero(Boolean fillGapWithZero)
Set the fillGapWithZero value.- Parameters:
fillGapWithZero- the fillGapWithZero value to set- Returns:
- the MetricSpecification object itself.
-
metricFilterPattern
public String metricFilterPattern()
Get the metricFilterPattern value.- Returns:
- the metricFilterPattern value
-
withMetricFilterPattern
public MetricSpecification withMetricFilterPattern(String metricFilterPattern)
Set the metricFilterPattern value.- Parameters:
metricFilterPattern- the metricFilterPattern value to set- Returns:
- the MetricSpecification object itself.
-
dimensions
public List<Dimension> dimensions()
Get the dimensions value.- Returns:
- the dimensions value
-
withDimensions
public MetricSpecification withDimensions(List<Dimension> dimensions)
Set the dimensions value.- Parameters:
dimensions- the dimensions value to set- Returns:
- the MetricSpecification object itself.
-
isInternal
public Boolean isInternal()
Get the isInternal value.- Returns:
- the isInternal value
-
withIsInternal
public MetricSpecification withIsInternal(Boolean isInternal)
Set the isInternal value.- Parameters:
isInternal- the isInternal value to set- Returns:
- the MetricSpecification object itself.
-
sourceMdmAccount
public String sourceMdmAccount()
Get the sourceMdmAccount value.- Returns:
- the sourceMdmAccount value
-
withSourceMdmAccount
public MetricSpecification withSourceMdmAccount(String sourceMdmAccount)
Set the sourceMdmAccount value.- Parameters:
sourceMdmAccount- the sourceMdmAccount value to set- Returns:
- the MetricSpecification object itself.
-
sourceMdmNamespace
public String sourceMdmNamespace()
Get the sourceMdmNamespace value.- Returns:
- the sourceMdmNamespace value
-
withSourceMdmNamespace
public MetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)
Set the sourceMdmNamespace value.- Parameters:
sourceMdmNamespace- the sourceMdmNamespace value to set- Returns:
- the MetricSpecification object itself.
-
resourceIdDimensionNameOverride
public String resourceIdDimensionNameOverride()
Get the resourceIdDimensionNameOverride value.- Returns:
- the resourceIdDimensionNameOverride value
-
withResourceIdDimensionNameOverride
public MetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
Set the resourceIdDimensionNameOverride value.- Parameters:
resourceIdDimensionNameOverride- the resourceIdDimensionNameOverride value to set- Returns:
- the MetricSpecification object itself.
-
-