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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EntityRecognizerMetadataEntityTypesListItem.BuilderevaluationMetrics(Consumer<EntityTypesEvaluationMetrics.Builder> evaluationMetrics)Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.EntityRecognizerMetadataEntityTypesListItem.BuilderevaluationMetrics(EntityTypesEvaluationMetrics evaluationMetrics)Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.EntityRecognizerMetadataEntityTypesListItem.BuildernumberOfTrainMentions(Integer numberOfTrainMentions)Indicates the number of times the given entity type was seen in the training data.EntityRecognizerMetadataEntityTypesListItem.Buildertype(String type)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 Detail
-
type
EntityRecognizerMetadataEntityTypesListItem.Builder type(String 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.Builderavoiding the need to create one manually viaEntityTypesEvaluationMetrics.builder().When the
Consumercompletes,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:
evaluationMetrics(EntityTypesEvaluationMetrics)
-
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.
-
-