Class EventCategoriesMap

    • Constructor Detail

      • EventCategoriesMap

        public EventCategoriesMap()
    • Method Detail

      • setSourceType

        public void setSourceType​(String sourceType)

        The source type, such as cluster or cluster-snapshot, that the returned categories belong to.

        Parameters:
        sourceType - The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
      • getSourceType

        public String getSourceType()

        The source type, such as cluster or cluster-snapshot, that the returned categories belong to.

        Returns:
        The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
      • withSourceType

        public EventCategoriesMap withSourceType​(String sourceType)

        The source type, such as cluster or cluster-snapshot, that the returned categories belong to.

        Parameters:
        sourceType - The source type, such as cluster or cluster-snapshot, that the returned categories belong to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getEvents

        public List<EventInfoMap> getEvents()

        The events in the event category.

        Returns:
        The events in the event category.
      • setEvents

        public void setEvents​(Collection<EventInfoMap> events)

        The events in the event category.

        Parameters:
        events - The events in the event category.
      • withEvents

        public EventCategoriesMap withEvents​(Collection<EventInfoMap> events)

        The events in the event category.

        Parameters:
        events - The events in the event category.
        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