DataFeedGranularity Class
- java.
lang. Object - com.
azure. ai. metricsadvisor. administration. models. DataFeedGranularity
- com.
public final class DataFeedGranularity
The DataFeedGranularity model.
Constructor Summary
Constructor | Description |
---|---|
DataFeedGranularity() |
Create a new instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
getCustomGranularityValue()
Get the granularity amount of the time series. |
Data |
getGranularityType()
Get the granularity of the time series. |
Data |
setCustomGranularityValue(int customGranularityValue)
Set the granularity amount, if granularity is custom, it is required. |
Data |
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:
getGranularityType
public DataFeedGranularityType getGranularityType()
Get the granularity of the time series.
Returns:
setCustomGranularityValue
public DataFeedGranularity setCustomGranularityValue(int customGranularityValue)
Set the granularity amount, if granularity is custom, it is required.
Parameters:
Returns:
setGranularityType
public DataFeedGranularity setGranularityType(DataFeedGranularityType granularityType)
Set the granularity level of the time series.
Parameters:
Returns:
Applies to
Azure SDK for Java