Class FailedDocument

    • Method Detail

      • id

        public final String id()

        The identifier of the document that couldn't be removed from the Amazon Q Business index.

        Returns:
        The identifier of the document that couldn't be removed from the Amazon Q Business index.
      • error

        public final ErrorDetail error()

        An explanation for why the document couldn't be removed from the index.

        Returns:
        An explanation for why the document couldn't be removed from the index.
      • dataSourceId

        public final String dataSourceId()

        The identifier of the Amazon Q Business data source connector that contains the failed document.

        Returns:
        The identifier of the Amazon Q Business data source connector that contains the failed document.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)