public static interface TopicNamedEntity.Builder extends SdkPojo, CopyableBuilder<TopicNamedEntity.Builder,TopicNamedEntity>
| Modifier and Type | Method and Description |
|---|---|
TopicNamedEntity.Builder |
definition(Collection<NamedEntityDefinition> definition)
The definition of a named entity.
|
TopicNamedEntity.Builder |
definition(Consumer<NamedEntityDefinition.Builder>... definition)
The definition of a named entity.
|
TopicNamedEntity.Builder |
definition(NamedEntityDefinition... definition)
The definition of a named entity.
|
TopicNamedEntity.Builder |
entityDescription(String entityDescription)
The description of the named entity.
|
TopicNamedEntity.Builder |
entityName(String entityName)
The name of the named entity.
|
TopicNamedEntity.Builder |
entitySynonyms(Collection<String> entitySynonyms)
The other names or aliases for the named entity.
|
TopicNamedEntity.Builder |
entitySynonyms(String... entitySynonyms)
The other names or aliases for the named entity.
|
default TopicNamedEntity.Builder |
semanticEntityType(Consumer<SemanticEntityType.Builder> semanticEntityType)
The type of named entity that a topic represents.
|
TopicNamedEntity.Builder |
semanticEntityType(SemanticEntityType semanticEntityType)
The type of named entity that a topic represents.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTopicNamedEntity.Builder entityName(String entityName)
The name of the named entity.
entityName - The name of the named entity.TopicNamedEntity.Builder entityDescription(String entityDescription)
The description of the named entity.
entityDescription - The description of the named entity.TopicNamedEntity.Builder entitySynonyms(Collection<String> entitySynonyms)
The other names or aliases for the named entity.
entitySynonyms - The other names or aliases for the named entity.TopicNamedEntity.Builder entitySynonyms(String... entitySynonyms)
The other names or aliases for the named entity.
entitySynonyms - The other names or aliases for the named entity.TopicNamedEntity.Builder semanticEntityType(SemanticEntityType semanticEntityType)
The type of named entity that a topic represents.
semanticEntityType - The type of named entity that a topic represents.default TopicNamedEntity.Builder semanticEntityType(Consumer<SemanticEntityType.Builder> semanticEntityType)
The type of named entity that a topic represents.
This is a convenience method that creates an instance of theSemanticEntityType.Builder avoiding the
need to create one manually via SemanticEntityType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to semanticEntityType(SemanticEntityType).
semanticEntityType - a consumer that will call methods on SemanticEntityType.BuildersemanticEntityType(SemanticEntityType)TopicNamedEntity.Builder definition(Collection<NamedEntityDefinition> definition)
The definition of a named entity.
definition - The definition of a named entity.TopicNamedEntity.Builder definition(NamedEntityDefinition... definition)
The definition of a named entity.
definition - The definition of a named entity.TopicNamedEntity.Builder definition(Consumer<NamedEntityDefinition.Builder>... definition)
The definition of a named entity.
This is a convenience method that creates an instance of theNamedEntityDefinition.Builder avoiding the need to
create one manually via
NamedEntityDefinition.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #definition(List.
definition - a consumer that will call methods on
NamedEntityDefinition.Builder#definition(java.util.Collection) Copyright © 2023. All rights reserved.