Interface BatchGetDocumentStatusResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<BatchGetDocumentStatusResponse.Builder,BatchGetDocumentStatusResponse>, KendraResponse.Builder, SdkBuilder<BatchGetDocumentStatusResponse.Builder,BatchGetDocumentStatusResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
BatchGetDocumentStatusResponse

public static interface BatchGetDocumentStatusResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<BatchGetDocumentStatusResponse.Builder,BatchGetDocumentStatusResponse>
  • Method Details

    • errors

      A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.

      Parameters:
      errors - A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.

      Parameters:
      errors - A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.

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

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

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

      BatchGetDocumentStatusResponse.Builder documentStatusList(Collection<Status> documentStatusList)

      The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.

      Parameters:
      documentStatusList - The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • documentStatusList

      BatchGetDocumentStatusResponse.Builder documentStatusList(Status... documentStatusList)

      The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.

      Parameters:
      documentStatusList - The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • documentStatusList

      BatchGetDocumentStatusResponse.Builder documentStatusList(Consumer<Status.Builder>... documentStatusList)

      The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.

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

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

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