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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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(String... entitySynonyms)
The other names or aliases for the named entity.TopicNamedEntity.Builder
entitySynonyms(Collection<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.-
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
-
entityName
TopicNamedEntity.Builder entityName(String 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
TopicNamedEntity.Builder entityDescription(String 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
TopicNamedEntity.Builder entitySynonyms(Collection<String> 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
TopicNamedEntity.Builder entitySynonyms(String... 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
TopicNamedEntity.Builder semanticEntityType(SemanticEntityType 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.Builder
avoiding the need to create one manually viaSemanticEntityType.builder()
.When the
Consumer
completes,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:
semanticEntityType(SemanticEntityType)
-
definition
TopicNamedEntity.Builder definition(Collection<NamedEntityDefinition> 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
TopicNamedEntity.Builder definition(NamedEntityDefinition... 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
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 viaNamedEntityDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#definition(List
.) - 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:
#definition(java.util.Collection
)
-
-