Struct aws_sdk_quicksight::types::builders::TopicNamedEntityBuilder
source · #[non_exhaustive]pub struct TopicNamedEntityBuilder { /* private fields */ }Expand description
A builder for TopicNamedEntity.
Implementations§
source§impl TopicNamedEntityBuilder
impl TopicNamedEntityBuilder
sourcepub fn entity_name(self, input: impl Into<String>) -> Self
pub fn entity_name(self, input: impl Into<String>) -> Self
The name of the named entity.
This field is required.sourcepub fn set_entity_name(self, input: Option<String>) -> Self
pub fn set_entity_name(self, input: Option<String>) -> Self
The name of the named entity.
sourcepub fn get_entity_name(&self) -> &Option<String>
pub fn get_entity_name(&self) -> &Option<String>
The name of the named entity.
sourcepub fn entity_description(self, input: impl Into<String>) -> Self
pub fn entity_description(self, input: impl Into<String>) -> Self
The description of the named entity.
sourcepub fn set_entity_description(self, input: Option<String>) -> Self
pub fn set_entity_description(self, input: Option<String>) -> Self
The description of the named entity.
sourcepub fn get_entity_description(&self) -> &Option<String>
pub fn get_entity_description(&self) -> &Option<String>
The description of the named entity.
sourcepub fn entity_synonyms(self, input: impl Into<String>) -> Self
pub fn entity_synonyms(self, input: impl Into<String>) -> Self
Appends an item to entity_synonyms.
To override the contents of this collection use set_entity_synonyms.
The other names or aliases for the named entity.
sourcepub fn set_entity_synonyms(self, input: Option<Vec<String>>) -> Self
pub fn set_entity_synonyms(self, input: Option<Vec<String>>) -> Self
The other names or aliases for the named entity.
sourcepub fn get_entity_synonyms(&self) -> &Option<Vec<String>>
pub fn get_entity_synonyms(&self) -> &Option<Vec<String>>
The other names or aliases for the named entity.
sourcepub fn semantic_entity_type(self, input: SemanticEntityType) -> Self
pub fn semantic_entity_type(self, input: SemanticEntityType) -> Self
The type of named entity that a topic represents.
sourcepub fn set_semantic_entity_type(self, input: Option<SemanticEntityType>) -> Self
pub fn set_semantic_entity_type(self, input: Option<SemanticEntityType>) -> Self
The type of named entity that a topic represents.
sourcepub fn get_semantic_entity_type(&self) -> &Option<SemanticEntityType>
pub fn get_semantic_entity_type(&self) -> &Option<SemanticEntityType>
The type of named entity that a topic represents.
sourcepub fn definition(self, input: NamedEntityDefinition) -> Self
pub fn definition(self, input: NamedEntityDefinition) -> Self
Appends an item to definition.
To override the contents of this collection use set_definition.
The definition of a named entity.
sourcepub fn set_definition(self, input: Option<Vec<NamedEntityDefinition>>) -> Self
pub fn set_definition(self, input: Option<Vec<NamedEntityDefinition>>) -> Self
The definition of a named entity.
sourcepub fn get_definition(&self) -> &Option<Vec<NamedEntityDefinition>>
pub fn get_definition(&self) -> &Option<Vec<NamedEntityDefinition>>
The definition of a named entity.
sourcepub fn build(self) -> Result<TopicNamedEntity, BuildError>
pub fn build(self) -> Result<TopicNamedEntity, BuildError>
Consumes the builder and constructs a TopicNamedEntity.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TopicNamedEntityBuilder
impl Clone for TopicNamedEntityBuilder
source§fn clone(&self) -> TopicNamedEntityBuilder
fn clone(&self) -> TopicNamedEntityBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TopicNamedEntityBuilder
impl Debug for TopicNamedEntityBuilder
source§impl Default for TopicNamedEntityBuilder
impl Default for TopicNamedEntityBuilder
source§fn default() -> TopicNamedEntityBuilder
fn default() -> TopicNamedEntityBuilder
source§impl PartialEq for TopicNamedEntityBuilder
impl PartialEq for TopicNamedEntityBuilder
source§fn eq(&self, other: &TopicNamedEntityBuilder) -> bool
fn eq(&self, other: &TopicNamedEntityBuilder) -> bool
self and other values to be equal, and is used
by ==.