Interface BatchPutDocumentRequest.Builder

  • Method Details

    • applicationId

      BatchPutDocumentRequest.Builder applicationId(String applicationId)

      The identifier of the Amazon Q Business application.

      Parameters:
      applicationId - The identifier of the Amazon Q Business application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • indexId

      The identifier of the Amazon Q Business index to add the documents to.

      Parameters:
      indexId - The identifier of the Amazon Q Business index to add the documents to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • documents

      One or more documents to add to the index.

      Ensure that the name of your document doesn't contain any confidential information. Amazon Q Business returns document names in chat responses and citations when relevant.

      Parameters:
      documents - One or more documents to add to the index.

      Ensure that the name of your document doesn't contain any confidential information. Amazon Q Business returns document names in chat responses and citations when relevant.

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

      BatchPutDocumentRequest.Builder documents(Document... documents)

      One or more documents to add to the index.

      Ensure that the name of your document doesn't contain any confidential information. Amazon Q Business returns document names in chat responses and citations when relevant.

      Parameters:
      documents - One or more documents to add to the index.

      Ensure that the name of your document doesn't contain any confidential information. Amazon Q Business returns document names in chat responses and citations when relevant.

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

      One or more documents to add to the index.

      Ensure that the name of your document doesn't contain any confidential information. Amazon Q Business returns document names in chat responses and citations when relevant.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to documents(List<Document>).

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

      The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceSyncId

      BatchPutDocumentRequest.Builder dataSourceSyncId(String dataSourceSyncId)

      The identifier of the data source sync during which the documents were added.

      Parameters:
      dataSourceSyncId - The identifier of the data source sync during which the documents were added.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      BatchPutDocumentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.