public class UploadDocumentsResult extends Object implements Serializable
Contains the response to an UploadDocuments
request.
Constructor and Description |
---|
UploadDocumentsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getAdds()
The number of documents that were added to the search domain.
|
Long |
getDeletes()
The number of documents that were deleted from the search domain.
|
String |
getStatus()
The status of an
UploadDocumentsRequest . |
List<DocumentServiceWarning> |
getWarnings()
Any warnings returned by the document service about the documents
being uploaded.
|
int |
hashCode() |
void |
setAdds(Long adds)
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 |
setStatus(String status)
The status of an
UploadDocumentsRequest . |
void |
setWarnings(Collection<DocumentServiceWarning> warnings)
Any warnings returned by the document service about the documents
being uploaded.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UploadDocumentsResult |
withAdds(Long adds)
The number of documents that were added to the search domain.
|
UploadDocumentsResult |
withDeletes(Long deletes)
The number of documents that were deleted from the search domain.
|
UploadDocumentsResult |
withStatus(String status)
The status of an
UploadDocumentsRequest . |
UploadDocumentsResult |
withWarnings(Collection<DocumentServiceWarning> warnings)
Any warnings returned by the document service about the documents
being uploaded.
|
UploadDocumentsResult |
withWarnings(DocumentServiceWarning... warnings)
Any warnings returned by the document service about the documents
being uploaded.
|
public String getStatus()
UploadDocumentsRequest
.UploadDocumentsRequest
.public void setStatus(String status)
UploadDocumentsRequest
.status
- The status of an UploadDocumentsRequest
.public UploadDocumentsResult withStatus(String status)
UploadDocumentsRequest
.
Returns a reference to this object so that method calls can be chained together.
status
- The status of an UploadDocumentsRequest
.public Long getAdds()
public void setAdds(Long adds)
adds
- The number of documents that were added to the search domain.public UploadDocumentsResult withAdds(Long adds)
Returns a reference to this object so that method calls can be chained together.
adds
- The number of documents that were added to the search domain.public Long getDeletes()
public void setDeletes(Long deletes)
deletes
- The number of documents that were deleted from the search domain.public UploadDocumentsResult withDeletes(Long deletes)
Returns a reference to this object so that method calls can be chained together.
deletes
- The number of documents that were deleted from the search domain.public List<DocumentServiceWarning> getWarnings()
public void setWarnings(Collection<DocumentServiceWarning> warnings)
warnings
- Any warnings returned by the document service about the documents
being uploaded.public UploadDocumentsResult withWarnings(DocumentServiceWarning... warnings)
Returns a reference to this object so that method calls can be chained together.
warnings
- Any warnings returned by the document service about the documents
being uploaded.public UploadDocumentsResult withWarnings(Collection<DocumentServiceWarning> warnings)
Returns a reference to this object so that method calls can be chained together.
warnings
- Any warnings returned by the document service about the documents
being uploaded.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.