Interface UploadDocumentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudSearchDomainResponse.Builder,CopyableBuilder<UploadDocumentsResponse.Builder,,UploadDocumentsResponse> SdkBuilder<UploadDocumentsResponse.Builder,,UploadDocumentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UploadDocumentsResponse
public static interface UploadDocumentsResponse.Builder
extends CloudSearchDomainResponse.Builder, SdkPojo, CopyableBuilder<UploadDocumentsResponse.Builder,UploadDocumentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.warnings(Collection<DocumentServiceWarning> warnings) Any warnings returned by the document service about the documents being uploaded.warnings(Consumer<DocumentServiceWarning.Builder>... warnings) Any warnings returned by the document service about the documents being uploaded.warnings(DocumentServiceWarning... warnings) Any warnings returned by the document service about the documents being uploaded.Methods inherited from interface software.amazon.awssdk.services.cloudsearchdomain.model.CloudSearchDomainResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
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.
-
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.
-
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.
-
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.
-
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.
-
warnings
Any warnings returned by the document service about the documents being uploaded.
This is a convenience method that creates an instance of theDocumentServiceWarning.Builderavoiding the need to create one manually viaDocumentServiceWarning.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towarnings(List<DocumentServiceWarning>).- Parameters:
warnings- a consumer that will call methods onDocumentServiceWarning.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-