Interface EntityRecognizerMetadataEntityTypesListItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EntityRecognizerMetadataEntityTypesListItem.Builder,
,EntityRecognizerMetadataEntityTypesListItem> SdkBuilder<EntityRecognizerMetadataEntityTypesListItem.Builder,
,EntityRecognizerMetadataEntityTypesListItem> SdkPojo
- Enclosing class:
EntityRecognizerMetadataEntityTypesListItem
public static interface EntityRecognizerMetadataEntityTypesListItem.Builder
extends SdkPojo, CopyableBuilder<EntityRecognizerMetadataEntityTypesListItem.Builder,EntityRecognizerMetadataEntityTypesListItem>
-
Method Summary
Modifier and TypeMethodDescriptionevaluationMetrics
(Consumer<EntityTypesEvaluationMetrics.Builder> evaluationMetrics) Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.evaluationMetrics
(EntityTypesEvaluationMetrics evaluationMetrics) Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.numberOfTrainMentions
(Integer numberOfTrainMentions) Indicates the number of times the given entity type was seen in the training data.Type of entity from the list of entity types in the metadata of an entity recognizer.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 Details
-
type
Type of entity from the list of entity types in the metadata of an entity recognizer.
- Parameters:
type
- Type of entity from the list of entity types in the metadata of an entity recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationMetrics
EntityRecognizerMetadataEntityTypesListItem.Builder evaluationMetrics(EntityTypesEvaluationMetrics evaluationMetrics) Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.
- Parameters:
evaluationMetrics
- Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationMetrics
default EntityRecognizerMetadataEntityTypesListItem.Builder evaluationMetrics(Consumer<EntityTypesEvaluationMetrics.Builder> evaluationMetrics) Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.
This is a convenience method that creates an instance of theEntityTypesEvaluationMetrics.Builder
avoiding the need to create one manually viaEntityTypesEvaluationMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevaluationMetrics(EntityTypesEvaluationMetrics)
.- Parameters:
evaluationMetrics
- a consumer that will call methods onEntityTypesEvaluationMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberOfTrainMentions
EntityRecognizerMetadataEntityTypesListItem.Builder numberOfTrainMentions(Integer numberOfTrainMentions) Indicates the number of times the given entity type was seen in the training data.
- Parameters:
numberOfTrainMentions
- Indicates the number of times the given entity type was seen in the training data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-