Class ActivityEntityQueryTemplatePropertiesQueryDefinitions


  • public final class ActivityEntityQueryTemplatePropertiesQueryDefinitions
    extends Object
    The Activity query definitions.
    • Constructor Detail

      • ActivityEntityQueryTemplatePropertiesQueryDefinitions

        public ActivityEntityQueryTemplatePropertiesQueryDefinitions()
    • Method Detail

      • query

        public String query()
        Get the query property: The Activity query to run on a given entity.
        Returns:
        the query value.
      • withQuery

        public ActivityEntityQueryTemplatePropertiesQueryDefinitions withQuery​(String query)
        Set the query property: The Activity query to run on a given entity.
        Parameters:
        query - the query value to set.
        Returns:
        the ActivityEntityQueryTemplatePropertiesQueryDefinitions object itself.
      • summarizeBy

        public String summarizeBy()
        Get the summarizeBy property: The dimensions we want to summarize the timeline results on, this is comma separated list.
        Returns:
        the summarizeBy value.
      • withSummarizeBy

        public ActivityEntityQueryTemplatePropertiesQueryDefinitions withSummarizeBy​(String summarizeBy)
        Set the summarizeBy property: The dimensions we want to summarize the timeline results on, this is comma separated list.
        Parameters:
        summarizeBy - the summarizeBy value to set.
        Returns:
        the ActivityEntityQueryTemplatePropertiesQueryDefinitions object itself.
      • validate

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