Interface UploadDocumentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudSearchDomainRequest.Builder
,CopyableBuilder<UploadDocumentsRequest.Builder,
,UploadDocumentsRequest> SdkBuilder<UploadDocumentsRequest.Builder,
,UploadDocumentsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UploadDocumentsRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudsearchdomain.model.CloudSearchDomainRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-