public static interface UploadDocumentsResponse.Builder extends CloudSearchDomainResponse.Builder, 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
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
UploadDocumentsResponse.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 that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #warnings(List)
.warnings
- a consumer that will call methods on List.Builder
#warnings(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.