Class MetricSpecification
java.lang.Object
com.microsoft.azure.management.appservice.MetricSpecification
Definition of a single resource metric.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the aggregationType value.Get the availabilities value.category()
Get the category value.Get the dimensions value.Get the displayDescription value.Get the displayName value.Get the enableRegionalMdmAccount value.Get the fillGapWithZero value.Get the isInternal value.Get the metricFilterPattern value.name()
Get the name value.Get the sourceMdmAccount value.Get the sourceMdmNamespace value.Get the supportedTimeGrainTypes value.Get the supportsInstanceLevelAggregation value.unit()
Get the unit value.withAggregationType
(String aggregationType) Set the aggregationType value.withAvailabilities
(List<MetricAvailability> availabilities) Set the availabilities value.withCategory
(String category) Set the category value.withDimensions
(List<Dimension> dimensions) Set the dimensions value.withDisplayDescription
(String displayDescription) Set the displayDescription value.withDisplayName
(String displayName) Set the displayName value.withEnableRegionalMdmAccount
(Boolean enableRegionalMdmAccount) Set the enableRegionalMdmAccount value.withFillGapWithZero
(Boolean fillGapWithZero) Set the fillGapWithZero value.withIsInternal
(Boolean isInternal) Set the isInternal value.withMetricFilterPattern
(String metricFilterPattern) Set the metricFilterPattern value.Set the name value.withSourceMdmAccount
(String sourceMdmAccount) Set the sourceMdmAccount value.withSourceMdmNamespace
(String sourceMdmNamespace) Set the sourceMdmNamespace value.withSupportedTimeGrainTypes
(List<String> supportedTimeGrainTypes) Set the supportedTimeGrainTypes value.withSupportsInstanceLevelAggregation
(Boolean supportsInstanceLevelAggregation) Set the supportsInstanceLevelAggregation value.Set the unit value.
-
Constructor Details
-
MetricSpecification
public MetricSpecification()
-
-
Method Details
-
name
Get the name value.- Returns:
- the name value
-
withName
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the MetricSpecification object itself.
-
displayName
Get the displayName value.- Returns:
- the displayName value
-
withDisplayName
Set the displayName value.- Parameters:
displayName
- the displayName value to set- Returns:
- the MetricSpecification object itself.
-
displayDescription
Get the displayDescription value.- Returns:
- the displayDescription value
-
withDisplayDescription
Set the displayDescription value.- Parameters:
displayDescription
- the displayDescription value to set- Returns:
- the MetricSpecification object itself.
-
unit
Get the unit value.- Returns:
- the unit value
-
withUnit
Set the unit value.- Parameters:
unit
- the unit value to set- Returns:
- the MetricSpecification object itself.
-
aggregationType
Get the aggregationType value.- Returns:
- the aggregationType value
-
withAggregationType
Set the aggregationType value.- Parameters:
aggregationType
- the aggregationType value to set- Returns:
- the MetricSpecification object itself.
-
supportsInstanceLevelAggregation
Get the supportsInstanceLevelAggregation value.- Returns:
- the supportsInstanceLevelAggregation value
-
withSupportsInstanceLevelAggregation
public MetricSpecification withSupportsInstanceLevelAggregation(Boolean supportsInstanceLevelAggregation) Set the supportsInstanceLevelAggregation value.- Parameters:
supportsInstanceLevelAggregation
- the supportsInstanceLevelAggregation value to set- Returns:
- the MetricSpecification object itself.
-
enableRegionalMdmAccount
Get the enableRegionalMdmAccount value.- Returns:
- the enableRegionalMdmAccount value
-
withEnableRegionalMdmAccount
Set the enableRegionalMdmAccount value.- Parameters:
enableRegionalMdmAccount
- the enableRegionalMdmAccount value to set- Returns:
- the MetricSpecification object itself.
-
sourceMdmAccount
Get the sourceMdmAccount value.- Returns:
- the sourceMdmAccount value
-
withSourceMdmAccount
Set the sourceMdmAccount value.- Parameters:
sourceMdmAccount
- the sourceMdmAccount value to set- Returns:
- the MetricSpecification object itself.
-
sourceMdmNamespace
Get the sourceMdmNamespace value.- Returns:
- the sourceMdmNamespace value
-
withSourceMdmNamespace
Set the sourceMdmNamespace value.- Parameters:
sourceMdmNamespace
- the sourceMdmNamespace value to set- Returns:
- the MetricSpecification object itself.
-
metricFilterPattern
Get the metricFilterPattern value.- Returns:
- the metricFilterPattern value
-
withMetricFilterPattern
Set the metricFilterPattern value.- Parameters:
metricFilterPattern
- the metricFilterPattern value to set- Returns:
- the MetricSpecification object itself.
-
fillGapWithZero
Get the fillGapWithZero value.- Returns:
- the fillGapWithZero value
-
withFillGapWithZero
Set the fillGapWithZero value.- Parameters:
fillGapWithZero
- the fillGapWithZero value to set- Returns:
- the MetricSpecification object itself.
-
isInternal
Get the isInternal value.- Returns:
- the isInternal value
-
withIsInternal
Set the isInternal value.- Parameters:
isInternal
- the isInternal value to set- Returns:
- the MetricSpecification object itself.
-
dimensions
Get the dimensions value.- Returns:
- the dimensions value
-
withDimensions
Set the dimensions value.- Parameters:
dimensions
- the dimensions value to set- Returns:
- the MetricSpecification object itself.
-
category
Get the category value.- Returns:
- the category value
-
withCategory
Set the category value.- Parameters:
category
- the category value to set- Returns:
- the MetricSpecification object itself.
-
availabilities
Get the availabilities value.- Returns:
- the availabilities value
-
withAvailabilities
Set the availabilities value.- Parameters:
availabilities
- the availabilities value to set- Returns:
- the MetricSpecification object itself.
-
supportedTimeGrainTypes
Get the supportedTimeGrainTypes value.- Returns:
- the supportedTimeGrainTypes value
-
withSupportedTimeGrainTypes
Set the supportedTimeGrainTypes value.- Parameters:
supportedTimeGrainTypes
- the supportedTimeGrainTypes value to set- Returns:
- the MetricSpecification object itself.
-