Class BoostListExtractParams.Body.Builder
-
- All Implemented Interfaces:
public final class BoostListExtractParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
categories
final BoostListExtractParams.Body.Builder categories(List<BoostListExtractParams.Category> categories)
Optional filter for entity categories to extract
-
categories
final BoostListExtractParams.Body.Builder categories(JsonField<List<BoostListExtractParams.Category>> categories)
Sets Builder.categories to an arbitrary JSON value.
You should usually call Builder.categories with a well-typed
List<Category>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addCategory
final BoostListExtractParams.Body.Builder addCategory(BoostListExtractParams.Category category)
Adds a single Category to categories.
-
objectIds
final BoostListExtractParams.Body.Builder objectIds(List<String> objectIds)
Object IDs of documents to extract entities from (PDFs, text files)
-
objectIds
final BoostListExtractParams.Body.Builder objectIds(JsonField<List<String>> objectIds)
Sets Builder.objectIds to an arbitrary JSON value.
You should usually call Builder.objectIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addObjectId
final BoostListExtractParams.Body.Builder addObjectId(String objectId)
-
text
final BoostListExtractParams.Body.Builder text(String text)
Raw text input for entity extraction (alternative to vault documents)
-
text
final BoostListExtractParams.Body.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
vaultId
final BoostListExtractParams.Body.Builder vaultId(String vaultId)
Vault ID containing the source documents (use with object_ids)
-
vaultId
final BoostListExtractParams.Body.Builder vaultId(JsonField<String> vaultId)
Sets Builder.vaultId to an arbitrary JSON value.
You should usually call Builder.vaultId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BoostListExtractParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BoostListExtractParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BoostListExtractParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BoostListExtractParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BoostListExtractParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BoostListExtractParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-