Interface BatchPutDocumentResponseFailedDocument.Builder

    • Method Detail

      • errorCode

        BatchPutDocumentResponseFailedDocument.Builder errorCode​(String errorCode)

        The type of error that caused the document to fail to be indexed.

        Parameters:
        errorCode - The type of error that caused the document to fail to be indexed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ErrorCode, ErrorCode
      • errorCode

        BatchPutDocumentResponseFailedDocument.Builder errorCode​(ErrorCode errorCode)

        The type of error that caused the document to fail to be indexed.

        Parameters:
        errorCode - The type of error that caused the document to fail to be indexed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ErrorCode, ErrorCode
      • errorMessage

        BatchPutDocumentResponseFailedDocument.Builder errorMessage​(String errorMessage)

        A description of the reason why the document could not be indexed.

        Parameters:
        errorMessage - A description of the reason why the document could not be indexed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.