Class UploadDocumentsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the response to an UploadDocuments
request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getAdds()
The number of documents that were added to the search domain.The number of documents that were deleted from the search domain.The status of anUploadDocumentsRequest
.Any warnings returned by the document service about the documents being uploaded.int
hashCode()
void
The number of documents that were added to the search domain.void
setDeletes
(Long deletes) The number of documents that were deleted from the search domain.void
The status of anUploadDocumentsRequest
.void
setWarnings
(Collection<DocumentServiceWarning> warnings) Any warnings returned by the document service about the documents being uploaded.toString()
Returns a string representation of this object; useful for testing and debugging.The number of documents that were added to the search domain.withDeletes
(Long deletes) The number of documents that were deleted from the search domain.withStatus
(String status) The status of anUploadDocumentsRequest
.withWarnings
(DocumentServiceWarning... warnings) Any warnings returned by the document service about the documents being uploaded.withWarnings
(Collection<DocumentServiceWarning> warnings) Any warnings returned by the document service about the documents being uploaded.
-
Constructor Details
-
UploadDocumentsResult
public UploadDocumentsResult()
-
-
Method Details
-
setStatus
The status of an
UploadDocumentsRequest
.- Parameters:
status
- The status of anUploadDocumentsRequest
.
-
getStatus
The status of an
UploadDocumentsRequest
.- Returns:
- The status of an
UploadDocumentsRequest
.
-
withStatus
The status of an
UploadDocumentsRequest
.- Parameters:
status
- The status of anUploadDocumentsRequest
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAdds
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
The number of documents that were added to the search domain.
- Returns:
- The number of documents that were added to the search domain.
-
withAdds
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
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
The number of documents that were deleted from the search domain.
- Returns:
- The number of documents that were deleted from the search domain.
-
withDeletes
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
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
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
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)
orwithWarnings(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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-