Interface EntityRecognitionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EntityRecognitionConfig.Builder,,EntityRecognitionConfig> SdkBuilder<EntityRecognitionConfig.Builder,,EntityRecognitionConfig> SdkPojo
- Enclosing class:
EntityRecognitionConfig
public static interface EntityRecognitionConfig.Builder
extends SdkPojo, CopyableBuilder<EntityRecognitionConfig.Builder,EntityRecognitionConfig>
-
Method Summary
Modifier and TypeMethodDescriptionentityTypes(Collection<EntityTypesListItem> entityTypes) Up to 25 entity types that the model is trained to recognize.entityTypes(Consumer<EntityTypesListItem.Builder>... entityTypes) Up to 25 entity types that the model is trained to recognize.entityTypes(EntityTypesListItem... entityTypes) Up to 25 entity types that the model is trained to recognize.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
entityTypes
Up to 25 entity types that the model is trained to recognize.
- Parameters:
entityTypes- Up to 25 entity types that the model is trained to recognize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityTypes
Up to 25 entity types that the model is trained to recognize.
- Parameters:
entityTypes- Up to 25 entity types that the model is trained to recognize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityTypes
Up to 25 entity types that the model is trained to recognize.
This is a convenience method that creates an instance of theEntityTypesListItem.Builderavoiding the need to create one manually viaEntityTypesListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentityTypes(List<EntityTypesListItem>).- Parameters:
entityTypes- a consumer that will call methods onEntityTypesListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-