Class UploadToFileSearchStoreConfig.Builder
-
- All Implemented Interfaces:
public abstract class UploadToFileSearchStoreConfig.BuilderBuilder for UploadToFileSearchStoreConfig.
-
-
Constructor Summary
Constructors Constructor Description UploadToFileSearchStoreConfig.Builder()
-
Method Summary
-
-
Method Detail
-
httpOptions
abstract UploadToFileSearchStoreConfig.Builder httpOptions(HttpOptions httpOptions)
Setter for httpOptions.
httpOptions: Used to override HTTP request options.
-
httpOptions
@CanIgnoreReturnValue() UploadToFileSearchStoreConfig.Builder httpOptions(HttpOptions.Builder httpOptionsBuilder)
Setter for httpOptions builder.
httpOptions: Used to override HTTP request options.
-
clearHttpOptions
@CanIgnoreReturnValue() UploadToFileSearchStoreConfig.Builder clearHttpOptions()
Clears the value of httpOptions field.
-
shouldReturnHttpResponse
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
@CanIgnoreReturnValue() UploadToFileSearchStoreConfig.Builder clearShouldReturnHttpResponse()
Clears the value of shouldReturnHttpResponse field.
-
mimeType
abstract UploadToFileSearchStoreConfig.Builder mimeType(String 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
@CanIgnoreReturnValue() UploadToFileSearchStoreConfig.Builder clearMimeType()
Clears the value of mimeType field.
-
displayName
abstract UploadToFileSearchStoreConfig.Builder displayName(String displayName)
Setter for displayName.
displayName: Display name of the created document.
-
clearDisplayName
@CanIgnoreReturnValue() UploadToFileSearchStoreConfig.Builder clearDisplayName()
Clears the value of displayName field.
-
customMetadata
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() UploadToFileSearchStoreConfig.Builder customMetadata(Array<CustomMetadata> customMetadata)
Setter for customMetadata.
customMetadata: User provided custom metadata stored as key-value pairs used for querying.
-
customMetadata
@CanIgnoreReturnValue() UploadToFileSearchStoreConfig.Builder customMetadata(Array<CustomMetadata.Builder> customMetadataBuilders)
Setter for customMetadata builder.
customMetadata: User provided custom metadata stored as key-value pairs used for querying.
-
clearCustomMetadata
@CanIgnoreReturnValue() UploadToFileSearchStoreConfig.Builder clearCustomMetadata()
Clears the value of customMetadata field.
-
chunkingConfig
abstract UploadToFileSearchStoreConfig.Builder chunkingConfig(ChunkingConfig chunkingConfig)
Setter for chunkingConfig.
chunkingConfig: Config for telling the service how to chunk the file.
-
chunkingConfig
@CanIgnoreReturnValue() UploadToFileSearchStoreConfig.Builder chunkingConfig(ChunkingConfig.Builder chunkingConfigBuilder)
Setter for chunkingConfig builder.
chunkingConfig: Config for telling the service how to chunk the file.
-
clearChunkingConfig
@CanIgnoreReturnValue() UploadToFileSearchStoreConfig.Builder clearChunkingConfig()
Clears the value of chunkingConfig field.
-
build
abstract UploadToFileSearchStoreConfig build()
-
-
-
-