Interface StartPosition.Builder

    • Method Detail

      • id

        StartPosition.Builder id​(String id)

        The ID of the message or event where to start.

        Parameters:
        id - The ID of the message or event where to start.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • absoluteTime

        StartPosition.Builder absoluteTime​(String absoluteTime)

        The time in ISO format where to start.

        It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

        Parameters:
        absoluteTime - The time in ISO format where to start.

        It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mostRecent

        StartPosition.Builder mostRecent​(Integer mostRecent)

        The start position of the most recent message where you want to start.

        Parameters:
        mostRecent - The start position of the most recent message where you want to start.
        Returns:
        Returns a reference to this object so that method calls can be chained together.