MetricSpecification Class

  • java.lang.Object
    • com.microsoft.azure.management.network.MetricSpecification

public class MetricSpecification

Description of metrics specification.

Constructor Summary

Constructor Description
MetricSpecification()

Method Summary

Modifier and Type Method and Description
java.lang.String aggregationType()

Get the aggregation type.

java.util.List<Availability> availabilities()

Get list of availability.

java.util.List<Dimension> dimensions()

Get list of dimensions.

java.lang.String displayDescription()

Get the description of the metric.

java.lang.String displayName()

Get the display name of the metric.

java.lang.Boolean enableRegionalMdmAccount()

Get whether regional MDM account enabled.

java.lang.Boolean fillGapWithZero()

Get whether gaps would be filled with zeros.

java.lang.Boolean isInternal()

Get whether the metric is internal.

java.lang.String metricFilterPattern()

Get pattern for the filter of the metric.

java.lang.String name()

Get the name of the metric.

java.lang.String resourceIdDimensionNameOverride()

Get the resource Id dimension name override.

java.lang.String sourceMdmAccount()

Get the source MDM account.

java.lang.String sourceMdmNamespace()

Get the source MDM namespace.

java.lang.String unit()

Get units the metric to be displayed in.

MetricSpecification withAggregationType(String aggregationType)

Set the aggregation type.

MetricSpecification withAvailabilities(List<Availability> availabilities)

Set list of availability.

MetricSpecification withDimensions(List<Dimension> dimensions)

Set list of dimensions.

MetricSpecification withDisplayDescription(String displayDescription)

Set the description of the metric.

MetricSpecification withDisplayName(String displayName)

Set the display name of the metric.

MetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)

Set whether regional MDM account enabled.

MetricSpecification withFillGapWithZero(Boolean fillGapWithZero)

Set whether gaps would be filled with zeros.

MetricSpecification withIsInternal(Boolean isInternal)

Set whether the metric is internal.

MetricSpecification withMetricFilterPattern(String metricFilterPattern)

Set pattern for the filter of the metric.

MetricSpecification withName(String name)

Set the name of the metric.

MetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)

Set the resource Id dimension name override.

MetricSpecification withSourceMdmAccount(String sourceMdmAccount)

Set the source MDM account.

MetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)

Set the source MDM namespace.

MetricSpecification withUnit(String unit)

Set units the metric to be displayed in.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MetricSpecification

public MetricSpecification()

Method Details

aggregationType

public String aggregationType()

Get the aggregation type.

Returns:

the aggregationType value

availabilities

public List availabilities()

Get list of availability.

Returns:

the availabilities value

dimensions

public List dimensions()

Get list of dimensions.

Returns:

the dimensions value

displayDescription

public String displayDescription()

Get the description of the metric.

Returns:

the displayDescription value

displayName

public String displayName()

Get the display name of the metric.

Returns:

the displayName value

enableRegionalMdmAccount

public Boolean enableRegionalMdmAccount()

Get whether regional MDM account enabled.

Returns:

the enableRegionalMdmAccount value

fillGapWithZero

public Boolean fillGapWithZero()

Get whether gaps would be filled with zeros.

Returns:

the fillGapWithZero value

isInternal

public Boolean isInternal()

Get whether the metric is internal.

Returns:

the isInternal value

metricFilterPattern

public String metricFilterPattern()

Get pattern for the filter of the metric.

Returns:

the metricFilterPattern value

name

public String name()

Get the name of the metric.

Returns:

the name value

resourceIdDimensionNameOverride

public String resourceIdDimensionNameOverride()

Get the resource Id dimension name override.

Returns:

the resourceIdDimensionNameOverride value

sourceMdmAccount

public String sourceMdmAccount()

Get the source MDM account.

Returns:

the sourceMdmAccount value

sourceMdmNamespace

public String sourceMdmNamespace()

Get the source MDM namespace.

Returns:

the sourceMdmNamespace value

unit

public String unit()

Get units the metric to be displayed in.

Returns:

the unit value

withAggregationType

public MetricSpecification withAggregationType(String aggregationType)

Set the aggregation type.

Parameters:

aggregationType - the aggregationType value to set

Returns:

the MetricSpecification object itself.

withAvailabilities

public MetricSpecification withAvailabilities(List availabilities)

Set list of availability.

Parameters:

availabilities - the availabilities value to set

Returns:

the MetricSpecification object itself.

withDimensions

public MetricSpecification withDimensions(List dimensions)

Set list of dimensions.

Parameters:

dimensions - the dimensions value to set

Returns:

the MetricSpecification object itself.

withDisplayDescription

public MetricSpecification withDisplayDescription(String displayDescription)

Set the description of the metric.

Parameters:

displayDescription - the displayDescription value to set

Returns:

the MetricSpecification object itself.

withDisplayName

public MetricSpecification withDisplayName(String displayName)

Set the display name of the metric.

Parameters:

displayName - the displayName value to set

Returns:

the MetricSpecification object itself.

withEnableRegionalMdmAccount

public MetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)

Set whether regional MDM account enabled.

Parameters:

enableRegionalMdmAccount - the enableRegionalMdmAccount value to set

Returns:

the MetricSpecification object itself.

withFillGapWithZero

public MetricSpecification withFillGapWithZero(Boolean fillGapWithZero)

Set whether gaps would be filled with zeros.

Parameters:

fillGapWithZero - the fillGapWithZero value to set

Returns:

the MetricSpecification object itself.

withIsInternal

public MetricSpecification withIsInternal(Boolean isInternal)

Set whether the metric is internal.

Parameters:

isInternal - the isInternal value to set

Returns:

the MetricSpecification object itself.

withMetricFilterPattern

public MetricSpecification withMetricFilterPattern(String metricFilterPattern)

Set pattern for the filter of the metric.

Parameters:

metricFilterPattern - the metricFilterPattern value to set

Returns:

the MetricSpecification object itself.

withName

public MetricSpecification withName(String name)

Set the name of the metric.

Parameters:

name - the name value to set

Returns:

the MetricSpecification object itself.

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.

withSourceMdmAccount

public MetricSpecification withSourceMdmAccount(String sourceMdmAccount)

Set the source MDM account.

Parameters:

sourceMdmAccount - the sourceMdmAccount value to set

Returns:

the MetricSpecification object itself.

withSourceMdmNamespace

public MetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)

Set the source MDM namespace.

Parameters:

sourceMdmNamespace - the sourceMdmNamespace value to set

Returns:

the MetricSpecification object itself.

withUnit

public MetricSpecification withUnit(String unit)

Set units the metric to be displayed in.

Parameters:

unit - the unit value to set

Returns:

the MetricSpecification object itself.

Applies to