Class UploadToFileSearchStoreConfig.Builder
- Enclosing class:
- UploadToFileSearchStoreConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract UploadToFileSearchStoreConfigbuild()chunkingConfig(ChunkingConfig chunkingConfig) Setter for chunkingConfig.chunkingConfig(ChunkingConfig.Builder chunkingConfigBuilder) Setter for chunkingConfig builder.Clears the value of chunkingConfig field.Clears the value of customMetadata field.Clears the value of displayName field.Clears the value of httpOptions field.Clears the value of mimeType field.Clears the value of shouldReturnHttpResponse field.customMetadata(CustomMetadata... customMetadata) Setter for customMetadata.customMetadata(CustomMetadata.Builder... customMetadataBuilders) Setter for customMetadata builder.customMetadata(List<CustomMetadata> customMetadata) Setter for customMetadata.displayName(String displayName) Setter for displayName.httpOptions(HttpOptions httpOptions) Setter for httpOptions.httpOptions(HttpOptions.Builder httpOptionsBuilder) Setter for httpOptions builder.Setter for mimeType.shouldReturnHttpResponse(boolean shouldReturnHttpResponse) Setter for shouldReturnHttpResponse.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
httpOptions
Setter for httpOptions.httpOptions: Used to override HTTP request options.
-
httpOptions
@CanIgnoreReturnValue public UploadToFileSearchStoreConfig.Builder httpOptions(HttpOptions.Builder httpOptionsBuilder) Setter for httpOptions builder.httpOptions: Used to override HTTP request options.
-
clearHttpOptions
Clears the value of httpOptions field. -
shouldReturnHttpResponse
public abstract UploadToFileSearchStoreConfig.Builder shouldReturnHttpResponse(boolean shouldReturnHttpResponse) Setter for shouldReturnHttpResponse.shouldReturnHttpResponse: If true, the raw HTTP response will be returned in the 'sdk_http_response' field.
-
clearShouldReturnHttpResponse
Clears the value of shouldReturnHttpResponse field. -
mimeType
Setter for mimeType.mimeType: MIME type of the file to be uploaded. If not provided, it will be inferred from the file extension.
-
clearMimeType
Clears the value of mimeType field. -
displayName
Setter for displayName.displayName: Display name of the created document.
-
clearDisplayName
Clears the value of displayName field. -
customMetadata
public abstract UploadToFileSearchStoreConfig.Builder customMetadata(List<CustomMetadata> customMetadata) Setter for customMetadata.customMetadata: User provided custom metadata stored as key-value pairs used for querying.
-
customMetadata
@CanIgnoreReturnValue public UploadToFileSearchStoreConfig.Builder customMetadata(CustomMetadata... customMetadata) Setter for customMetadata.customMetadata: User provided custom metadata stored as key-value pairs used for querying.
-
customMetadata
@CanIgnoreReturnValue public UploadToFileSearchStoreConfig.Builder customMetadata(CustomMetadata.Builder... customMetadataBuilders) Setter for customMetadata builder.customMetadata: User provided custom metadata stored as key-value pairs used for querying.
-
clearCustomMetadata
Clears the value of customMetadata field. -
chunkingConfig
Setter for chunkingConfig.chunkingConfig: Config for telling the service how to chunk the file.
-
chunkingConfig
@CanIgnoreReturnValue public UploadToFileSearchStoreConfig.Builder chunkingConfig(ChunkingConfig.Builder chunkingConfigBuilder) Setter for chunkingConfig builder.chunkingConfig: Config for telling the service how to chunk the file.
-
clearChunkingConfig
Clears the value of chunkingConfig field. -
build
-