Class UploadDocumentsResult

    • Constructor Detail

      • UploadDocumentsResult

        public UploadDocumentsResult()
    • Method Detail

      • setStatus

        public void setStatus​(String status)

        The status of an UploadDocumentsRequest.

        Parameters:
        status - The status of an UploadDocumentsRequest.
      • getStatus

        public String getStatus()

        The status of an UploadDocumentsRequest.

        Returns:
        The status of an UploadDocumentsRequest.
      • withStatus

        public UploadDocumentsResult withStatus​(String status)

        The status of an UploadDocumentsRequest.

        Parameters:
        status - The status of an UploadDocumentsRequest.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAdds

        public void setAdds​(Long adds)

        The number of documents that were added to the search domain.

        Parameters:
        adds - The number of documents that were added to the search domain.
      • getAdds

        public Long getAdds()

        The number of documents that were added to the search domain.

        Returns:
        The number of documents that were added to the search domain.
      • withAdds

        public UploadDocumentsResult withAdds​(Long adds)

        The number of documents that were added to the search domain.

        Parameters:
        adds - The number of documents that were added to the search domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeletes

        public void setDeletes​(Long deletes)

        The number of documents that were deleted from the search domain.

        Parameters:
        deletes - The number of documents that were deleted from the search domain.
      • getDeletes

        public Long getDeletes()

        The number of documents that were deleted from the search domain.

        Returns:
        The number of documents that were deleted from the search domain.
      • withDeletes

        public UploadDocumentsResult withDeletes​(Long deletes)

        The number of documents that were deleted from the search domain.

        Parameters:
        deletes - The number of documents that were deleted from the search domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getWarnings

        public List<DocumentServiceWarning> getWarnings()

        Any warnings returned by the document service about the documents being uploaded.

        Returns:
        Any warnings returned by the document service about the documents being uploaded.
      • setWarnings

        public void setWarnings​(Collection<DocumentServiceWarning> warnings)

        Any warnings returned by the document service about the documents being uploaded.

        Parameters:
        warnings - Any warnings returned by the document service about the documents being uploaded.
      • withWarnings

        public UploadDocumentsResult withWarnings​(DocumentServiceWarning... warnings)

        Any warnings returned by the document service about the documents being uploaded.

        NOTE: This method appends the values to the existing list (if any). Use setWarnings(java.util.Collection) or withWarnings(java.util.Collection) if you want to override the existing values.

        Parameters:
        warnings - Any warnings returned by the document service about the documents being uploaded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withWarnings

        public UploadDocumentsResult withWarnings​(Collection<DocumentServiceWarning> warnings)

        Any warnings returned by the document service about the documents being uploaded.

        Parameters:
        warnings - Any warnings returned by the document service about the documents being uploaded.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object