Compartir a través de


DataFeedGranularity Class

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

public final class DataFeedGranularity

The DataFeedGranularity model.

Constructor Summary

Constructor Description
DataFeedGranularity()

Create a new instance of DataFeedGranularity.

Method Summary

Modifier and Type Method and Description
Integer getCustomGranularityValue()

Get the granularity amount of the time series.

DataFeedGranularityType getGranularityType()

Get the granularity of the time series.

DataFeedGranularity setCustomGranularityValue(int customGranularityValue)

Set the granularity amount, if granularity is custom, it is required.

DataFeedGranularity setGranularityType(DataFeedGranularityType granularityType)

Set the granularity level of the time series.

Methods inherited from java.lang.Object

Constructor Details

DataFeedGranularity

public DataFeedGranularity()

Create a new instance of DataFeedGranularity.

Method Details

getCustomGranularityValue

public Integer getCustomGranularityValue()

Get the granularity amount of the time series.

Returns:

the granularity amount of the time series.

getGranularityType

public DataFeedGranularityType getGranularityType()

Get the granularity of the time series.

Returns:

the granularity type of the time series.

setCustomGranularityValue

public DataFeedGranularity setCustomGranularityValue(int customGranularityValue)

Set the granularity amount, if granularity is custom, it is required.

Parameters:

customGranularityValue - the granularity amount value, if granularity is custom, it is required.

Returns:

the DataFeedGranularity object itself.

setGranularityType

public DataFeedGranularity setGranularityType(DataFeedGranularityType granularityType)

Set the granularity level of the time series.

Parameters:

granularityType - the granularity level of the time series.

Returns:

the DataFeedGranularity object itself.

Applies to