Interface StreamEvent.Builder

    • Method Detail

      • eventTime

        StreamEvent.Builder eventTime​(Instant eventTime)

        Time when the event occurred. This is an ISO 8601 timestamp; note that this is returned as a string.

        Parameters:
        eventTime - Time when the event occurred. This is an ISO 8601 timestamp; note that this is returned as a string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        StreamEvent.Builder name​(String name)

        Name that identifies the stream event within a type.

        Parameters:
        name - Name that identifies the stream event within a type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        StreamEvent.Builder type​(String type)

        Logical group for certain events.

        Parameters:
        type - Logical group for certain events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.