Interface TopicNamedEntity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TopicNamedEntity.Builder,,TopicNamedEntity> SdkBuilder<TopicNamedEntity.Builder,,TopicNamedEntity> SdkPojo
- Enclosing class:
TopicNamedEntity
public static interface TopicNamedEntity.Builder
extends SdkPojo, CopyableBuilder<TopicNamedEntity.Builder,TopicNamedEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondefinition(Collection<NamedEntityDefinition> definition) The definition of a named entity.definition(Consumer<NamedEntityDefinition.Builder>... definition) The definition of a named entity.definition(NamedEntityDefinition... definition) The definition of a named entity.entityDescription(String entityDescription) The description of the named entity.entityName(String entityName) The name of the named entity.entitySynonyms(String... entitySynonyms) The other names or aliases for the named entity.entitySynonyms(Collection<String> entitySynonyms) The other names or aliases for the named entity.default TopicNamedEntity.BuildersemanticEntityType(Consumer<SemanticEntityType.Builder> semanticEntityType) The type of named entity that a topic represents.semanticEntityType(SemanticEntityType semanticEntityType) The type of named entity that a topic represents.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, sdkFieldNameToField, sdkFields
-
Method Details
-
entityName
The name of the named entity.
- Parameters:
entityName- The name of the named entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityDescription
The description of the named entity.
- Parameters:
entityDescription- The description of the named entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitySynonyms
The other names or aliases for the named entity.
- Parameters:
entitySynonyms- The other names or aliases for the named entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitySynonyms
The other names or aliases for the named entity.
- Parameters:
entitySynonyms- The other names or aliases for the named entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
semanticEntityType
The type of named entity that a topic represents.
- Parameters:
semanticEntityType- The type of named entity that a topic represents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
semanticEntityType
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.Builderavoiding the need to create one manually viaSemanticEntityType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosemanticEntityType(SemanticEntityType).- Parameters:
semanticEntityType- a consumer that will call methods onSemanticEntityType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
definition
The definition of a named entity.
- Parameters:
definition- The definition of a named entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The definition of a named entity.
- Parameters:
definition- The definition of a named entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The definition of a named entity.
This is a convenience method that creates an instance of theNamedEntityDefinition.Builderavoiding the need to create one manually viaNamedEntityDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(List<NamedEntityDefinition>).- Parameters:
definition- a consumer that will call methods onNamedEntityDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-