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

public final class DataFeed extends Object
The Data feed metadata model.
  • Constructor Details

    • DataFeed

      public DataFeed()
  • Method Details

    • getId

      public String getId()
      Get the data feed unique id.
      Returns:
      the dataFeedId value.
    • getMetricIds

      public Map<String,String> getMetricIds()
      Get the list of associated metrics Ids.
      Returns:
      the metricIds value.
    • getCreatedTime

      public OffsetDateTime getCreatedTime()
      Get the data feed created time.
      Returns:
      the createdTime value.
    • getStatus

      public DataFeedStatus getStatus()
      Get the data feed status.
      Returns:
      the dataFeedStatus value.
    • isAdmin

      public boolean isAdmin()
      Get if the data feed the query user is one of data feed administrator or not.
      Returns:
      the isAdmin value.
    • getName

      public String getName()
      Get the data feed name.
      Returns:
      the dataFeedName value.
    • getSource

      public DataFeedSource getSource()
      Get the data feed source.
      Returns:
      the dataFeedSource value.
    • getSchema

      public DataFeedSchema getSchema()
      Get the data feed schema properties.
      Returns:
      the dataFeedSchema value.
    • getGranularity

      public DataFeedGranularity getGranularity()
      Get the granularity properties of the time series.
      Returns:
      the dataFeedGranularity value.
    • getCreator

      public String getCreator()
      Get the data feed creator.
      Returns:
      the creator value.
    • getIngestionSettings

      public DataFeedIngestionSettings getIngestionSettings()
      Get the data feed ingestion properties of the time series.
      Returns:
      the dataFeedIngestionSettings value.
    • getOptions

      public DataFeedOptions getOptions()
      Get the data feed metadata properties.
      Returns:
      the dataFeedOptions value.
    • getSourceType

      public DataFeedSourceType getSourceType()
      Get the data feed source type.
      Returns:
      the dataFeedSourceType value.
    • setName

      public DataFeed setName(String dataFeedName)
      Set the data feed name.
      Parameters:
      dataFeedName - the dataFeedName value to set.
      Returns:
      the DataFeedDetail object itself.
    • setSource

      public DataFeed setSource(DataFeedSource dataFeedSource)
      Set the data feed source.
      Parameters:
      dataFeedSource - the the data feed source value to set.
      Returns:
      the DataFeedDetail object itself.
    • setSchema

      public DataFeed setSchema(DataFeedSchema dataFeedSchema)
      Set the data feed schema properties.
      Parameters:
      dataFeedSchema - the data feed schema properties value to set.
      Returns:
      the DataFeed object itself.
    • setGranularity

      public DataFeed setGranularity(DataFeedGranularity granularity)
      Set the data feed granularity settings for the time series.
      Parameters:
      granularity - the the data feed granularity settings for the time series value to set.
      Returns:
      the DataFeed object itself.
    • setIngestionSettings

      public DataFeed setIngestionSettings(DataFeedIngestionSettings dataFeedIngestionSettings)
      Set the data feed ingestion settings.
      Parameters:
      dataFeedIngestionSettings - the data feed ingestion settings value to set.
      Returns:
      the DataFeed object itself.
    • setOptions

      public DataFeed setOptions(DataFeedOptions dataFeedOptions)
      Set the data feed metadata properties.
      Parameters:
      dataFeedOptions - the the data feed metadata properties value to set.
      Returns:
      the DataFeed object itself.