Class DataFeedRollupSettings

java.lang.Object
com.azure.ai.metricsadvisor.administration.models.DataFeedRollupSettings

public final class DataFeedRollupSettings extends Object
The rollup settings for the data feed.
  • Constructor Details

    • DataFeedRollupSettings

      public DataFeedRollupSettings()
  • Method Details

    • getRollupType

      public DataFeedRollupType getRollupType()
      Get the rollup type that should be used for the data feed.
      Returns:
      the dataFeedRollupType value.
    • getAutoRollupGroupByColumnNames

      public List<String> getAutoRollupGroupByColumnNames()
      Get the column names for which the auto rollup setting will group by.
      Returns:
      the autoRollupGroupByColumnNames value.
    • getRollupIdentificationValue

      public String getRollupIdentificationValue()
      Get the identification value when using auto rollup.
      Returns:
      the alreadyRollupIdentificationValue value.
    • getDataFeedAutoRollUpMethod

      public DataFeedAutoRollUpMethod getDataFeedAutoRollUpMethod()
      Get the rollup method that should be used for the data feed.
      Returns:
      the dataFeedAutoRollUpMethod value.
    • setRollupType

      public DataFeedRollupSettings setRollupType(DataFeedRollupType dataFeedRollupType)
      Set the rollup type settings that should be used for the data feed.
      Parameters:
      dataFeedRollupType - the rollup type settings value to set.
      Returns:
      the DataFeedRollupSettings object itself.
    • setAutoRollup

      public DataFeedRollupSettings setAutoRollup(DataFeedAutoRollUpMethod rollUpMethod, List<String> groupByColumnNames)
      Set up rollup settings to be used for the data feed aggregation.
      Parameters:
      rollUpMethod - the rollup method value to set.
      groupByColumnNames - the column names for the group by.
      Returns:
      the DataFeedRollupSettings object itself.
    • setAutoRollup

      public DataFeedRollupSettings setAutoRollup(DataFeedAutoRollUpMethod rollUpMethod, List<String> groupByColumnNames, String rollupIdentificationValue)
      Set up rollup settings to be used for the data feed aggregation.
      Parameters:
      rollUpMethod - the rollup method value to set.
      groupByColumnNames - the column names for the group by.
      rollupIdentificationValue - the raw group column value.
      Returns:
      the DataFeedRollupSettings object itself.
    • setAlreadyRollup

      public DataFeedRollupSettings setAlreadyRollup(String rollupIdentificationValue)
      Set the identification value when rollup settings set to Auto or AlreadyRollUp.
      Parameters:
      rollupIdentificationValue - the identification value to set.
      Returns:
      the DataFeedRollupSettings object itself.