Interface SendMessageContentBlockStartEvent.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.
    • id

      Block identifier

      Parameters:
      id - Block identifier
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentId

      Optional parent block ID for nested content blocks (e.g. subagent tool calls)

      Parameters:
      parentId - Optional parent block ID for nested content blocks (e.g. subagent tool calls)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sequenceNumber

      SendMessageContentBlockStartEvent.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.