MultiMetricCriteria Class

  • java.lang.Object
    • com.microsoft.azure.management.monitor.MultiMetricCriteria

public class MultiMetricCriteria

The types of conditions for a multi resource alert.

Constructor Summary

Constructor Description
MultiMetricCriteria()

Method Summary

Modifier and Type Method and Description
java.util.Map<java.lang.String,java.lang.Object> additionalProperties()

Get unmatched properties from the message are deserialized this collection.

java.util.List<MetricDimension> dimensions()

Get list of dimension conditions.

java.lang.String metricName()

Get name of the metric.

java.lang.String metricNamespace()

Get namespace of the metric.

java.lang.String name()

Get name of the criteria.

java.lang.Object timeAggregation()

Get the criteria time aggregation types.

MultiMetricCriteria withAdditionalProperties(Map<String,Object> additionalProperties)

Set unmatched properties from the message are deserialized this collection.

MultiMetricCriteria withDimensions(List<MetricDimension> dimensions)

Set list of dimension conditions.

MultiMetricCriteria withMetricName(String metricName)

Set name of the metric.

MultiMetricCriteria withMetricNamespace(String metricNamespace)

Set namespace of the metric.

MultiMetricCriteria withName(String name)

Set name of the criteria.

MultiMetricCriteria withTimeAggregation(Object timeAggregation)

Set the criteria time aggregation types.

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

MultiMetricCriteria

public MultiMetricCriteria()

Method Details

additionalProperties

public Map additionalProperties()

Get unmatched properties from the message are deserialized this collection.

Returns:

the additionalProperties value

dimensions

public List dimensions()

Get list of dimension conditions.

Returns:

the dimensions value

metricName

public String metricName()

Get name of the metric.

Returns:

the metricName value

metricNamespace

public String metricNamespace()

Get namespace of the metric.

Returns:

the metricNamespace value

name

public String name()

Get name of the criteria.

Returns:

the name value

timeAggregation

public Object timeAggregation()

Get the criteria time aggregation types.

Returns:

the timeAggregation value

withAdditionalProperties

public MultiMetricCriteria withAdditionalProperties(Map additionalProperties)

Set unmatched properties from the message are deserialized this collection.

Parameters:

additionalProperties - the additionalProperties value to set

Returns:

the MultiMetricCriteria object itself.

withDimensions

public MultiMetricCriteria withDimensions(List dimensions)

Set list of dimension conditions.

Parameters:

dimensions - the dimensions value to set

Returns:

the MultiMetricCriteria object itself.

withMetricName

public MultiMetricCriteria withMetricName(String metricName)

Set name of the metric.

Parameters:

metricName - the metricName value to set

Returns:

the MultiMetricCriteria object itself.

withMetricNamespace

public MultiMetricCriteria withMetricNamespace(String metricNamespace)

Set namespace of the metric.

Parameters:

metricNamespace - the metricNamespace value to set

Returns:

the MultiMetricCriteria object itself.

withName

public MultiMetricCriteria withName(String name)

Set name of the criteria.

Parameters:

name - the name value to set

Returns:

the MultiMetricCriteria object itself.

withTimeAggregation

public MultiMetricCriteria withTimeAggregation(Object timeAggregation)

Set the criteria time aggregation types.

Parameters:

timeAggregation - the timeAggregation value to set

Returns:

the MultiMetricCriteria object itself.

Applies to