Class EntityInsightItem


  • public final class EntityInsightItem
    extends Object
    Entity insight Item.
    • Constructor Detail

      • EntityInsightItem

        public EntityInsightItem()
    • Method Detail

      • queryId

        public String queryId()
        Get the queryId property: The query id of the insight.
        Returns:
        the queryId value.
      • withQueryId

        public EntityInsightItem withQueryId​(String queryId)
        Set the queryId property: The query id of the insight.
        Parameters:
        queryId - the queryId value to set.
        Returns:
        the EntityInsightItem object itself.
      • queryTimeInterval

        public EntityInsightItemQueryTimeInterval queryTimeInterval()
        Get the queryTimeInterval property: The Time interval that the query actually executed on.
        Returns:
        the queryTimeInterval value.
      • withQueryTimeInterval

        public EntityInsightItem withQueryTimeInterval​(EntityInsightItemQueryTimeInterval queryTimeInterval)
        Set the queryTimeInterval property: The Time interval that the query actually executed on.
        Parameters:
        queryTimeInterval - the queryTimeInterval value to set.
        Returns:
        the EntityInsightItem object itself.
      • tableQueryResults

        public InsightsTableResult tableQueryResults()
        Get the tableQueryResults property: Query results for table insights query.
        Returns:
        the tableQueryResults value.
      • withTableQueryResults

        public EntityInsightItem withTableQueryResults​(InsightsTableResult tableQueryResults)
        Set the tableQueryResults property: Query results for table insights query.
        Parameters:
        tableQueryResults - the tableQueryResults value to set.
        Returns:
        the EntityInsightItem object itself.
      • chartQueryResults

        public List<InsightsTableResult> chartQueryResults()
        Get the chartQueryResults property: Query results for table insights query.
        Returns:
        the chartQueryResults value.
      • withChartQueryResults

        public EntityInsightItem withChartQueryResults​(List<InsightsTableResult> chartQueryResults)
        Set the chartQueryResults property: Query results for table insights query.
        Parameters:
        chartQueryResults - the chartQueryResults value to set.
        Returns:
        the EntityInsightItem object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.