Class EventCategoriesMap

    • Constructor Detail

      • EventCategoriesMap

        public EventCategoriesMap()
    • Method Detail

      • setSourceType

        public void setSourceType​(String sourceType)

        The source type that the returned categories belong to

        Parameters:
        sourceType - The source type that the returned categories belong to
      • getSourceType

        public String getSourceType()

        The source type that the returned categories belong to

        Returns:
        The source type that the returned categories belong to
      • withSourceType

        public EventCategoriesMap withSourceType​(String sourceType)

        The source type that the returned categories belong to

        Parameters:
        sourceType - The source type that the returned categories belong to
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEventCategories

        public List<String> getEventCategories()

        The event categories for the specified source type

        Returns:
        The event categories for the specified source type
      • setEventCategories

        public void setEventCategories​(Collection<String> eventCategories)

        The event categories for the specified source type

        Parameters:
        eventCategories - The event categories for the specified source type
      • withEventCategories

        public EventCategoriesMap withEventCategories​(String... eventCategories)

        The event categories for the specified source type

        NOTE: This method appends the values to the existing list (if any). Use setEventCategories(java.util.Collection) or withEventCategories(java.util.Collection) if you want to override the existing values.

        Parameters:
        eventCategories - The event categories for the specified source type
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withEventCategories

        public EventCategoriesMap withEventCategories​(Collection<String> eventCategories)

        The event categories for the specified source type

        Parameters:
        eventCategories - The event categories for the specified source type
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object