Interface SendMessageContentBlockStopEvent.Builder

  • Method Details

    • index

      Zero-based index of the content block

      Parameters:
      index - Zero-based index of the content block
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of content in this block

      Parameters:
      type - The type of content in this block
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • text

      The accumulated complete content text

      Parameters:
      text - The accumulated complete content text
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • last

      Whether this is the final content block in the response

      Parameters:
      last - Whether this is the final content block in the response
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sequenceNumber

      SendMessageContentBlockStopEvent.Builder sequenceNumber(Integer sequenceNumber)

      Event sequence number

      Parameters:
      sequenceNumber - Event sequence number
      Returns:
      Returns a reference to this object so that method calls can be chained together.