OperationMetaMetricSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.OperationMetaMetricSpecification

Implements

public final class OperationMetaMetricSpecification
implements JsonSerializable<OperationMetaMetricSpecification>

What is this?.

Constructor Summary

Constructor Description
OperationMetaMetricSpecification()

Creates an instance of OperationMetaMetricSpecification class.

Method Summary

Modifier and Type Method and Description
String aggregationType()

Get the aggregationType property: Metric aggregation type.

List<OperationMetaMetricDimensionSpecification> dimensions()

Get the dimensions property: Metric dimensions.

String displayDescription()

Get the displayDescription property: Metric description.

String displayName()

Get the displayName property: Metric display name.

Boolean enableRegionalMdmAccount()

Get the enableRegionalMdmAccount property: Whether the regional MDM account is enabled.

static OperationMetaMetricSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationMetaMetricSpecification from the JsonReader.

String metricFilterPattern()

Get the metricFilterPattern property: Metric filter.

String name()

Get the name property: Metric unique name.

String sourceMdmAccount()

Get the sourceMdmAccount property: The source MDM account.

String sourceMdmNamespace()

Get the sourceMdmNamespace property: The source MDM namespace.

Boolean supportsInstanceLevelAggregation()

Get the supportsInstanceLevelAggregation property: Whether the metric supports instance-level aggregation.

JsonWriter toJson(JsonWriter jsonWriter)
String unit()

Get the unit property: Metric units.

void validate()

Validates the instance.

OperationMetaMetricSpecification withAggregationType(String aggregationType)

Set the aggregationType property: Metric aggregation type.

OperationMetaMetricSpecification withDimensions(List<OperationMetaMetricDimensionSpecification> dimensions)

Set the dimensions property: Metric dimensions.

OperationMetaMetricSpecification withDisplayDescription(String displayDescription)

Set the displayDescription property: Metric description.

OperationMetaMetricSpecification withDisplayName(String displayName)

Set the displayName property: Metric display name.

OperationMetaMetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)

Set the enableRegionalMdmAccount property: Whether the regional MDM account is enabled.

OperationMetaMetricSpecification withMetricFilterPattern(String metricFilterPattern)

Set the metricFilterPattern property: Metric filter.

OperationMetaMetricSpecification withName(String name)

Set the name property: Metric unique name.

OperationMetaMetricSpecification withSourceMdmAccount(String sourceMdmAccount)

Set the sourceMdmAccount property: The source MDM account.

OperationMetaMetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)

Set the sourceMdmNamespace property: The source MDM namespace.

OperationMetaMetricSpecification withSupportsInstanceLevelAggregation(Boolean supportsInstanceLevelAggregation)

Set the supportsInstanceLevelAggregation property: Whether the metric supports instance-level aggregation.

OperationMetaMetricSpecification withUnit(String unit)

Set the unit property: Metric units.

Methods inherited from java.lang.Object

Constructor Details

OperationMetaMetricSpecification

public OperationMetaMetricSpecification()

Creates an instance of OperationMetaMetricSpecification class.

Method Details

aggregationType

public String aggregationType()

Get the aggregationType property: Metric aggregation type.

Returns:

the aggregationType value.

dimensions

public List<OperationMetaMetricDimensionSpecification> dimensions()

Get the dimensions property: Metric dimensions.

Returns:

the dimensions value.

displayDescription

public String displayDescription()

Get the displayDescription property: Metric description.

Returns:

the displayDescription value.

displayName

public String displayName()

Get the displayName property: Metric display name.

Returns:

the displayName value.

enableRegionalMdmAccount

public Boolean enableRegionalMdmAccount()

Get the enableRegionalMdmAccount property: Whether the regional MDM account is enabled.

Returns:

the enableRegionalMdmAccount value.

fromJson

public static OperationMetaMetricSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationMetaMetricSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationMetaMetricSpecification if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the OperationMetaMetricSpecification.

metricFilterPattern

public String metricFilterPattern()

Get the metricFilterPattern property: Metric filter.

Returns:

the metricFilterPattern value.

name

public String name()

Get the name property: Metric unique name.

Returns:

the name value.

sourceMdmAccount

public String sourceMdmAccount()

Get the sourceMdmAccount property: The source MDM account.

Returns:

the sourceMdmAccount value.

sourceMdmNamespace

public String sourceMdmNamespace()

Get the sourceMdmNamespace property: The source MDM namespace.

Returns:

the sourceMdmNamespace value.

supportsInstanceLevelAggregation

public Boolean supportsInstanceLevelAggregation()

Get the supportsInstanceLevelAggregation property: Whether the metric supports instance-level aggregation.

Returns:

the supportsInstanceLevelAggregation value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unit

public String unit()

Get the unit property: Metric units.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

withAggregationType

public OperationMetaMetricSpecification withAggregationType(String aggregationType)

Set the aggregationType property: Metric aggregation type.

Parameters:

aggregationType - the aggregationType value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withDimensions

public OperationMetaMetricSpecification withDimensions(List<OperationMetaMetricDimensionSpecification> dimensions)

Set the dimensions property: Metric dimensions.

Parameters:

dimensions - the dimensions value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withDisplayDescription

public OperationMetaMetricSpecification withDisplayDescription(String displayDescription)

Set the displayDescription property: Metric description.

Parameters:

displayDescription - the displayDescription value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withDisplayName

public OperationMetaMetricSpecification withDisplayName(String displayName)

Set the displayName property: Metric display name.

Parameters:

displayName - the displayName value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withEnableRegionalMdmAccount

public OperationMetaMetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)

Set the enableRegionalMdmAccount property: Whether the regional MDM account is enabled.

Parameters:

enableRegionalMdmAccount - the enableRegionalMdmAccount value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withMetricFilterPattern

public OperationMetaMetricSpecification withMetricFilterPattern(String metricFilterPattern)

Set the metricFilterPattern property: Metric filter.

Parameters:

metricFilterPattern - the metricFilterPattern value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withName

public OperationMetaMetricSpecification withName(String name)

Set the name property: Metric unique name.

Parameters:

name - the name value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withSourceMdmAccount

public OperationMetaMetricSpecification withSourceMdmAccount(String sourceMdmAccount)

Set the sourceMdmAccount property: The source MDM account.

Parameters:

sourceMdmAccount - the sourceMdmAccount value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withSourceMdmNamespace

public OperationMetaMetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)

Set the sourceMdmNamespace property: The source MDM namespace.

Parameters:

sourceMdmNamespace - the sourceMdmNamespace value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withSupportsInstanceLevelAggregation

public OperationMetaMetricSpecification withSupportsInstanceLevelAggregation(Boolean supportsInstanceLevelAggregation)

Set the supportsInstanceLevelAggregation property: Whether the metric supports instance-level aggregation.

Parameters:

supportsInstanceLevelAggregation - the supportsInstanceLevelAggregation value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withUnit

public OperationMetaMetricSpecification withUnit(String unit)

Set the unit property: Metric units.

Parameters:

unit - the unit value to set.

Returns:

the OperationMetaMetricSpecification object itself.

Applies to