Interface UploadDocumentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudSearchDomainRequest.Builder,CopyableBuilder<UploadDocumentsRequest.Builder,,UploadDocumentsRequest> SdkBuilder<UploadDocumentsRequest.Builder,,UploadDocumentsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UploadDocumentsRequest
public static interface UploadDocumentsRequest.Builder
extends CloudSearchDomainRequest.Builder, SdkPojo, CopyableBuilder<UploadDocumentsRequest.Builder,UploadDocumentsRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncontentLength(Long contentLength) Sets the value of the ContentLength property for this object.contentType(String contentType) The format of the batch you are uploading.contentType(ContentType contentType) The format of the batch you are uploading.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudsearchdomain.model.CloudSearchDomainRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
contentType
The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:
- application/json
- application/xml
- Parameters:
contentType- The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:- application/json
- application/xml
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentType
The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:
- application/json
- application/xml
- Parameters:
contentType- The format of the batch you are uploading. Amazon CloudSearch supports two document batch formats:- application/json
- application/xml
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contentLength
Sets the value of the ContentLength property for this object.- Parameters:
contentLength- The new value for the ContentLength property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UploadDocumentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UploadDocumentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-