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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityRecognitionConfig.BuilderentityTypes(Collection<EntityTypesListItem> entityTypes)Up to 25 entity types that the model is trained to recognize.EntityRecognitionConfig.BuilderentityTypes(Consumer<EntityTypesListItem.Builder>... entityTypes)Up to 25 entity types that the model is trained to recognize.EntityRecognitionConfig.BuilderentityTypes(EntityTypesListItem... entityTypes)Up to 25 entity types that the model is trained to recognize.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
entityTypes
EntityRecognitionConfig.Builder entityTypes(Collection<EntityTypesListItem> 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
EntityRecognitionConfig.Builder entityTypes(EntityTypesListItem... 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
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.Builderavoiding the need to create one manually viaEntityTypesListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entityTypes(List.) - 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:
#entityTypes(java.util.Collection)
-
-