OperationMetricDimension Class

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

public final class OperationMetricDimension

Defines the metric dimension.

Constructor Summary

Constructor Description
OperationMetricDimension()

Creates an instance of OperationMetricDimension class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: The display name of the metric dimension.

String name()

Get the name property: The name of the dimension for the metric.

Boolean toBeExportedForShoebox()

Get the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.

void validate()

Validates the instance.

OperationMetricDimension withDisplayName(String displayName)

Set the displayName property: The display name of the metric dimension.

OperationMetricDimension withName(String name)

Set the name property: The name of the dimension for the metric.

OperationMetricDimension withToBeExportedForShoebox(Boolean toBeExportedForShoebox)

Set the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.

Methods inherited from java.lang.Object

Constructor Details

OperationMetricDimension

public OperationMetricDimension()

Creates an instance of OperationMetricDimension class.

Method Details

displayName

public String displayName()

Get the displayName property: The display name of the metric dimension.

Returns:

the displayName value.

name

public String name()

Get the name property: The name of the dimension for the metric.

Returns:

the name value.

toBeExportedForShoebox

public Boolean toBeExportedForShoebox()

Get the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.

Returns:

the toBeExportedForShoebox value.

validate

public void validate()

Validates the instance.

withDisplayName

public OperationMetricDimension withDisplayName(String displayName)

Set the displayName property: The display name of the metric dimension.

Parameters:

displayName - the displayName value to set.

Returns:

the OperationMetricDimension object itself.

withName

public OperationMetricDimension withName(String name)

Set the name property: The name of the dimension for the metric.

Parameters:

name - the name value to set.

Returns:

the OperationMetricDimension object itself.

withToBeExportedForShoebox

public OperationMetricDimension withToBeExportedForShoebox(Boolean toBeExportedForShoebox)

Set the toBeExportedForShoebox property: Whether the dimension should be exported to Azure Monitor.

Parameters:

toBeExportedForShoebox - the toBeExportedForShoebox value to set.

Returns:

the OperationMetricDimension object itself.

Applies to