OperationMetricSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.OperationMetricSpecification

public final class OperationMetricSpecification

Details about an operation related to metrics.

Constructor Summary

Constructor Description
OperationMetricSpecification()

Creates an instance of OperationMetricSpecification class.

Method Summary

Modifier and Type Method and Description
String aggregationType()

Get the aggregationType property: The type of metric aggregation.

List<OperationMetricAvailability> availabilities()

Get the availabilities property: Defines how often data for metrics becomes available.

List<OperationMetricDimension> dimensions()

Get the dimensions property: Defines the metric dimension.

String displayDescription()

Get the displayDescription property: The description of the metric.

String displayName()

Get the displayName property: Localized display name of the metric.

String enableRegionalMdmAccount()

Get the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.

String name()

Get the name property: The name of the metric.

String sourceMdmAccount()

Get the sourceMdmAccount property: The name of the MDM account.

String sourceMdmNamespace()

Get the sourceMdmNamespace property: The name of the MDM namespace.

String unit()

Get the unit property: The unit that the metric is measured in.

void validate()

Validates the instance.

OperationMetricSpecification withAggregationType(String aggregationType)

Set the aggregationType property: The type of metric aggregation.

OperationMetricSpecification withAvailabilities(List<OperationMetricAvailability> availabilities)

Set the availabilities property: Defines how often data for metrics becomes available.

OperationMetricSpecification withDimensions(List<OperationMetricDimension> dimensions)

Set the dimensions property: Defines the metric dimension.

OperationMetricSpecification withDisplayDescription(String displayDescription)

Set the displayDescription property: The description of the metric.

OperationMetricSpecification withDisplayName(String displayName)

Set the displayName property: Localized display name of the metric.

OperationMetricSpecification withEnableRegionalMdmAccount(String enableRegionalMdmAccount)

Set the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.

OperationMetricSpecification withName(String name)

Set the name property: The name of the metric.

OperationMetricSpecification withSourceMdmAccount(String sourceMdmAccount)

Set the sourceMdmAccount property: The name of the MDM account.

OperationMetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)

Set the sourceMdmNamespace property: The name of the MDM namespace.

OperationMetricSpecification withUnit(String unit)

Set the unit property: The unit that the metric is measured in.

Methods inherited from java.lang.Object

Constructor Details

OperationMetricSpecification

public OperationMetricSpecification()

Creates an instance of OperationMetricSpecification class.

Method Details

aggregationType

public String aggregationType()

Get the aggregationType property: The type of metric aggregation.

Returns:

the aggregationType value.

availabilities

public List availabilities()

Get the availabilities property: Defines how often data for metrics becomes available.

Returns:

the availabilities value.

dimensions

public List dimensions()

Get the dimensions property: Defines the metric dimension.

Returns:

the dimensions value.

displayDescription

public String displayDescription()

Get the displayDescription property: The description of the metric.

Returns:

the displayDescription value.

displayName

public String displayName()

Get the displayName property: Localized display name of the metric.

Returns:

the displayName value.

enableRegionalMdmAccount

public String enableRegionalMdmAccount()

Get the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.

Returns:

the enableRegionalMdmAccount value.

name

public String name()

Get the name property: The name of the metric.

Returns:

the name value.

sourceMdmAccount

public String sourceMdmAccount()

Get the sourceMdmAccount property: The name of the MDM account.

Returns:

the sourceMdmAccount value.

sourceMdmNamespace

public String sourceMdmNamespace()

Get the sourceMdmNamespace property: The name of the MDM namespace.

Returns:

the sourceMdmNamespace value.

unit

public String unit()

Get the unit property: The unit that the metric is measured in.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

withAggregationType

public OperationMetricSpecification withAggregationType(String aggregationType)

Set the aggregationType property: The type of metric aggregation.

Parameters:

aggregationType - the aggregationType value to set.

Returns:

the OperationMetricSpecification object itself.

withAvailabilities

public OperationMetricSpecification withAvailabilities(List availabilities)

Set the availabilities property: Defines how often data for metrics becomes available.

Parameters:

availabilities - the availabilities value to set.

Returns:

the OperationMetricSpecification object itself.

withDimensions

public OperationMetricSpecification withDimensions(List dimensions)

Set the dimensions property: Defines the metric dimension.

Parameters:

dimensions - the dimensions value to set.

Returns:

the OperationMetricSpecification object itself.

withDisplayDescription

public OperationMetricSpecification withDisplayDescription(String displayDescription)

Set the displayDescription property: The description of the metric.

Parameters:

displayDescription - the displayDescription value to set.

Returns:

the OperationMetricSpecification object itself.

withDisplayName

public OperationMetricSpecification withDisplayName(String displayName)

Set the displayName property: Localized display name of the metric.

Parameters:

displayName - the displayName value to set.

Returns:

the OperationMetricSpecification object itself.

withEnableRegionalMdmAccount

public OperationMetricSpecification withEnableRegionalMdmAccount(String enableRegionalMdmAccount)

Set the enableRegionalMdmAccount property: Whether or not the service is using regional MDM accounts.

Parameters:

enableRegionalMdmAccount - the enableRegionalMdmAccount value to set.

Returns:

the OperationMetricSpecification object itself.

withName

public OperationMetricSpecification withName(String name)

Set the name property: The name of the metric.

Parameters:

name - the name value to set.

Returns:

the OperationMetricSpecification object itself.

withSourceMdmAccount

public OperationMetricSpecification withSourceMdmAccount(String sourceMdmAccount)

Set the sourceMdmAccount property: The name of the MDM account.

Parameters:

sourceMdmAccount - the sourceMdmAccount value to set.

Returns:

the OperationMetricSpecification object itself.

withSourceMdmNamespace

public OperationMetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)

Set the sourceMdmNamespace property: The name of the MDM namespace.

Parameters:

sourceMdmNamespace - the sourceMdmNamespace value to set.

Returns:

the OperationMetricSpecification object itself.

withUnit

public OperationMetricSpecification withUnit(String unit)

Set the unit property: The unit that the metric is measured in.

Parameters:

unit - the unit value to set.

Returns:

the OperationMetricSpecification object itself.

Applies to