public static interface EntityRecognitionConfig.Builder extends SdkPojo, CopyableBuilder<EntityRecognitionConfig.Builder,EntityRecognitionConfig>
| Modifier and Type | Method and Description |
|---|---|
EntityRecognitionConfig.Builder |
entityTypes(Collection<EntityTypesListItem> entityTypes)
Up to 25 entity types that the model is trained to recognize.
|
EntityRecognitionConfig.Builder |
entityTypes(Consumer<EntityTypesListItem.Builder>... entityTypes)
Up to 25 entity types that the model is trained to recognize.
|
EntityRecognitionConfig.Builder |
entityTypes(EntityTypesListItem... entityTypes)
Up to 25 entity types that the model is trained to recognize.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEntityRecognitionConfig.Builder entityTypes(Collection<EntityTypesListItem> entityTypes)
Up to 25 entity types that the model is trained to recognize.
entityTypes - Up to 25 entity types that the model is trained to recognize.EntityRecognitionConfig.Builder entityTypes(EntityTypesListItem... entityTypes)
Up to 25 entity types that the model is trained to recognize.
entityTypes - Up to 25 entity types that the model is trained to recognize.EntityRecognitionConfig.Builder entityTypes(Consumer<EntityTypesListItem.Builder>... entityTypes)
Up to 25 entity types that the model is trained to recognize.
This is a convenience method that creates an instance of theEntityTypesListItem.Builder avoiding the need to
create one manually via
EntityTypesListItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #entityTypes(List.
entityTypes - a consumer that will call methods on
EntityTypesListItem.Builder#entityTypes(java.util.Collection) Copyright © 2023. All rights reserved.