Interface Event.Builder

    • Method Detail

      • sourceName

        Event.Builder sourceName​(String sourceName)

        The source of the event. For example, if the event occurred at the node level, the source would be the node ID.

        Parameters:
        sourceName - The source of the event. For example, if the event occurred at the node level, the source would be the node ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceType

        Event.Builder sourceType​(String sourceType)

        Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.

        Parameters:
        sourceType - Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceType, SourceType
      • sourceType

        Event.Builder sourceType​(SourceType sourceType)

        Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.

        Parameters:
        sourceType - Specifies the origin of this event - a cluster, a parameter group, a node ID, etc.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceType, SourceType
      • message

        Event.Builder message​(String message)

        A user-defined message associated with the event.

        Parameters:
        message - A user-defined message associated with the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • date

        Event.Builder date​(Instant date)

        The date and time when the event occurred.

        Parameters:
        date - The date and time when the event occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.