Class DataFeedOptions

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

public final class DataFeedOptions extends Object
The DataFeedOptions model.
  • Constructor Details

    • DataFeedOptions

      public DataFeedOptions()
  • Method Details

    • getRollupSettings

      public DataFeedRollupSettings getRollupSettings()
      Get the data feed roll up properties.
      Returns:
      the data feed roll up properties.
    • getMissingDataPointFillSettings

      public DataFeedMissingDataPointFillSettings getMissingDataPointFillSettings()
      Get the data feed data point fill properties.
      Returns:
      the data point fill properties.
    • setRollupSettings

      public DataFeedOptions setRollupSettings(DataFeedRollupSettings dataFeedRollupSettings)
      Set the data feed roll up properties.
      Parameters:
      dataFeedRollupSettings - the data roll up settings value to set.
      Returns:
      the DataFeedOptions object itself.
    • setMissingDataPointFillSettings

      public DataFeedOptions setMissingDataPointFillSettings(DataFeedMissingDataPointFillSettings dataFeedMissingDataPointFillSettings)
      Set the data feed, data point fill properties.
      Parameters:
      dataFeedMissingDataPointFillSettings - the data point fill settings value to set.
      Returns:
      the DataFeedOptions object itself.
    • getAccessMode

      public DataFeedAccessMode getAccessMode()
      Get the data feed access mode, default is Private.
      Returns:
      the DataFeedAccessMode value.
    • setAccessMode

      public DataFeedOptions setAccessMode(DataFeedAccessMode dataFeedAccessMode)
      Set the data feed access mode, default is Private.
      Parameters:
      dataFeedAccessMode - the value to set.
      Returns:
      the DataFeedOptions object itself.
    • getAdmins

      public List<String> getAdmins()
      Get the list of data feed administrator emails and clientIds.

      The administrators have total control over the DataFeed, being allowed to update, delete, or pause the DataFeed. Each element in this list represents a user with administrator access, but the value of each string element is either user email address or clientId uniquely identifying the user service principal.

      Returns:
      a list containing email or clientId of admins
    • setAdmins

      public DataFeedOptions setAdmins(List<String> admins)
      Set the list of data feed administrator emails and clientIds.

      The administrators have total control over the DataFeed, being allowed to update, delete, or pause the DataFeed. Each element in this list represents a user with administrator access, but the value of each string element is either user email address or clientId uniquely identifying the user service principal.

      Parameters:
      admins - a list containing email or clientId of admins
      Returns:
      the DataFeedOptions object itself.
    • getViewers

      public List<String> getViewers()
      Get the list of data feed viewer emails and clientIds.

      The Viewers have read-only access to a DataFeed. Each element in this list represents a user with viewer access, but the value of each string element is either user email address or clientId uniquely identifying the user service principal.

      Returns:
      a list containing email or clientId of viewers
    • setViewers

      public DataFeedOptions setViewers(List<String> viewers)
      Set the list of data feed viewer emails and clientIds.

      The Viewers have read-only access to a DataFeed. Each element in this list represents a user with viewer access, but the value of each string element is either user email address or clientId uniquely identifying the user service principal.

      Parameters:
      viewers - a list containing email or clientId of viewers.
      Returns:
      the DataFeedOptions object itself.
    • getDescription

      public String getDescription()
      Get the dataFeedDescription property: data feed description.
      Returns:
      the dataFeedDescription value.
    • setDescription

      public DataFeedOptions setDescription(String dataFeedDescription)
      Set the dataFeedDescription property: data feed description.
      Parameters:
      dataFeedDescription - the dataFeedDescription value to set.
      Returns:
      the DataFeedOptions object itself.
    • getActionLinkTemplate

      public String getActionLinkTemplate()
      Get the action link for alert.
      Returns:
      the actionLinkTemplate value.
    • setActionLinkTemplate

      public DataFeedOptions setActionLinkTemplate(String actionLinkTemplate)
      Set the action link for alert.
      Parameters:
      actionLinkTemplate - the actionLinkTemplate value to set.
      Returns:
      the DataFeedOptions object itself.