Compartilhar via


DataFeedMetric Class

  • java.lang.Object
    • com.azure.ai.metricsadvisor.administration.models.DataFeedMetric

public final class DataFeedMetric

Type describing a metric of a DataFeed.

Constructor Summary

Constructor Description
DataFeedMetric(String name)

Creates a DataFeed metric with the provided name.

Method Summary

Modifier and Type Method and Description
String getDescription()

Gets the description.

String getDisplayName()

Gets the display name.

String getId()

Gets the id.

String getName()

Gets the name.

DataFeedMetric setDescription(String description)

Sets the description.

DataFeedMetric setDisplayName(String displayName)

Sets the display name.

Methods inherited from java.lang.Object

Constructor Details

DataFeedMetric

public DataFeedMetric(String name)

Creates a DataFeed metric with the provided name.

Parameters:

name - the metric name.

Method Details

getDescription

public String getDescription()

Gets the description.

Returns:

the description value.

getDisplayName

public String getDisplayName()

Gets the display name.

Returns:

the display name value.

getId

public String getId()

Gets the id.

Returns:

the id value.

getName

public String getName()

Gets the name.

Returns:

the name value.

setDescription

public DataFeedMetric setDescription(String description)

Sets the description.

Parameters:

description - the description value to set.

Returns:

the DataFeedMetric object itself.

setDisplayName

public DataFeedMetric setDisplayName(String displayName)

Sets the display name.

Parameters:

displayName - the display name value to set.

Returns:

the DataFeedMetric object itself.

Applies to