public static interface UploadDocumentsResponse.Builder extends CloudSearchDomainResponse.Builder, SdkPojo, CopyableBuilder<UploadDocumentsResponse.Builder,UploadDocumentsResponse>
| Modifier and Type | Method and Description |
|---|---|
UploadDocumentsResponse.Builder |
adds(Long adds)
The number of documents that were added to the search domain.
|
UploadDocumentsResponse.Builder |
deletes(Long deletes)
The number of documents that were deleted from the search domain.
|
UploadDocumentsResponse.Builder |
status(String status)
The status of an
UploadDocumentsRequest. |
UploadDocumentsResponse.Builder |
warnings(Collection<DocumentServiceWarning> warnings)
Any warnings returned by the document service about the documents being uploaded.
|
UploadDocumentsResponse.Builder |
warnings(Consumer<DocumentServiceWarning.Builder>... warnings)
Any warnings returned by the document service about the documents being uploaded.
|
UploadDocumentsResponse.Builder |
warnings(DocumentServiceWarning... warnings)
Any warnings returned by the document service about the documents being uploaded.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUploadDocumentsResponse.Builder status(String status)
The status of an UploadDocumentsRequest.
status - The status of an UploadDocumentsRequest.UploadDocumentsResponse.Builder adds(Long adds)
The number of documents that were added to the search domain.
adds - The number of documents that were added to the search domain.UploadDocumentsResponse.Builder deletes(Long deletes)
The number of documents that were deleted from the search domain.
deletes - The number of documents that were deleted from the search domain.UploadDocumentsResponse.Builder warnings(Collection<DocumentServiceWarning> warnings)
Any warnings returned by the document service about the documents being uploaded.
warnings - Any warnings returned by the document service about the documents being uploaded.UploadDocumentsResponse.Builder warnings(DocumentServiceWarning... warnings)
Any warnings returned by the document service about the documents being uploaded.
warnings - Any warnings returned by the document service about the documents being uploaded.UploadDocumentsResponse.Builder warnings(Consumer<DocumentServiceWarning.Builder>... warnings)
Any warnings returned by the document service about the documents being uploaded.
This is a convenience method that creates an instance of theDocumentServiceWarning.Builder avoiding the
need to create one manually via
DocumentServiceWarning.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #warnings(List.
warnings - a consumer that will call methods on
DocumentServiceWarning.Builder#warnings(java.util.Collection) Copyright © 2023. All rights reserved.