Interface FilteredLogEvent.Builder

    • Method Detail

      • logStreamName

        FilteredLogEvent.Builder logStreamName​(String logStreamName)

        The name of the log stream to which this event belongs.

        Parameters:
        logStreamName - The name of the log stream to which this event belongs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timestamp

        FilteredLogEvent.Builder timestamp​(Long timestamp)

        The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Parameters:
        timestamp - The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • message

        FilteredLogEvent.Builder message​(String message)

        The data contained in the log event.

        Parameters:
        message - The data contained in the log event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ingestionTime

        FilteredLogEvent.Builder ingestionTime​(Long ingestionTime)

        The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Parameters:
        ingestionTime - The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventId

        FilteredLogEvent.Builder eventId​(String eventId)

        The ID of the event.

        Parameters:
        eventId - The ID of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.