Class CfnTopic.TopicNamedEntityProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.TopicNamedEntityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.TopicNamedEntityProperty>
- Enclosing interface:
- CfnTopic.TopicNamedEntityProperty
@Stability(Stable)
public static final class CfnTopic.TopicNamedEntityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.TopicNamedEntityProperty>
A builder for
CfnTopic.TopicNamedEntityProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.definition
(List<? extends Object> definition) Sets the value ofCfnTopic.TopicNamedEntityProperty.getDefinition()
definition
(IResolvable definition) Sets the value ofCfnTopic.TopicNamedEntityProperty.getDefinition()
entityDescription
(String entityDescription) Sets the value ofCfnTopic.TopicNamedEntityProperty.getEntityDescription()
entityName
(String entityName) Sets the value ofCfnTopic.TopicNamedEntityProperty.getEntityName()
entitySynonyms
(List<String> entitySynonyms) Sets the value ofCfnTopic.TopicNamedEntityProperty.getEntitySynonyms()
semanticEntityType
(IResolvable semanticEntityType) Sets the value ofCfnTopic.TopicNamedEntityProperty.getSemanticEntityType()
semanticEntityType
(CfnTopic.SemanticEntityTypeProperty semanticEntityType) Sets the value ofCfnTopic.TopicNamedEntityProperty.getSemanticEntityType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entityName
Sets the value ofCfnTopic.TopicNamedEntityProperty.getEntityName()
- Parameters:
entityName
- The name of the named entity. This parameter is required.- Returns:
this
-
definition
@Stability(Stable) public CfnTopic.TopicNamedEntityProperty.Builder definition(IResolvable definition) Sets the value ofCfnTopic.TopicNamedEntityProperty.getDefinition()
- Parameters:
definition
- The definition of a named entity.- Returns:
this
-
definition
@Stability(Stable) public CfnTopic.TopicNamedEntityProperty.Builder definition(List<? extends Object> definition) Sets the value ofCfnTopic.TopicNamedEntityProperty.getDefinition()
- Parameters:
definition
- The definition of a named entity.- Returns:
this
-
entityDescription
@Stability(Stable) public CfnTopic.TopicNamedEntityProperty.Builder entityDescription(String entityDescription) Sets the value ofCfnTopic.TopicNamedEntityProperty.getEntityDescription()
- Parameters:
entityDescription
- The description of the named entity.- Returns:
this
-
entitySynonyms
@Stability(Stable) public CfnTopic.TopicNamedEntityProperty.Builder entitySynonyms(List<String> entitySynonyms) Sets the value ofCfnTopic.TopicNamedEntityProperty.getEntitySynonyms()
- Parameters:
entitySynonyms
- The other names or aliases for the named entity.- Returns:
this
-
semanticEntityType
@Stability(Stable) public CfnTopic.TopicNamedEntityProperty.Builder semanticEntityType(IResolvable semanticEntityType) Sets the value ofCfnTopic.TopicNamedEntityProperty.getSemanticEntityType()
- Parameters:
semanticEntityType
- The type of named entity that a topic represents.- Returns:
this
-
semanticEntityType
@Stability(Stable) public CfnTopic.TopicNamedEntityProperty.Builder semanticEntityType(CfnTopic.SemanticEntityTypeProperty semanticEntityType) Sets the value ofCfnTopic.TopicNamedEntityProperty.getSemanticEntityType()
- Parameters:
semanticEntityType
- The type of named entity that a topic represents.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopic.TopicNamedEntityProperty>
- Returns:
- a new instance of
CfnTopic.TopicNamedEntityProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-