Interface AttachmentOutput.Builder

  • Method Details

    • name

      The name of a file uploaded during chat.

      Parameters:
      name - The name of a file uploaded during chat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of a file uploaded during chat.

      Parameters:
      status - The status of a file uploaded during chat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of a file uploaded during chat.

      Parameters:
      status - The status of a file uploaded during chat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • error

      An error associated with a file uploaded during chat.

      Parameters:
      error - An error associated with a file uploaded during chat.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • error

      An error associated with a file uploaded during chat.

      This is a convenience method that creates an instance of the ErrorDetail.Builder avoiding the need to create one manually via ErrorDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to error(ErrorDetail).

      Parameters:
      error - a consumer that will call methods on ErrorDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • attachmentId

      AttachmentOutput.Builder attachmentId(String attachmentId)

      The unique identifier of the Amazon Q Business attachment.

      Parameters:
      attachmentId - The unique identifier of the Amazon Q Business attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conversationId

      AttachmentOutput.Builder conversationId(String conversationId)

      The unique identifier of the Amazon Q Business conversation.

      Parameters:
      conversationId - The unique identifier of the Amazon Q Business conversation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.