Struct aws_sdk_comprehend::model::mention_sentiment::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for MentionSentiment.
Implementations§
source§impl Builder
impl Builder
sourcepub fn sentiment(self, input: SentimentType) -> Self
pub fn sentiment(self, input: SentimentType) -> Self
The sentiment of the mention.
sourcepub fn set_sentiment(self, input: Option<SentimentType>) -> Self
pub fn set_sentiment(self, input: Option<SentimentType>) -> Self
The sentiment of the mention.
sourcepub fn sentiment_score(self, input: SentimentScore) -> Self
pub fn sentiment_score(self, input: SentimentScore) -> Self
Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.
sourcepub fn set_sentiment_score(self, input: Option<SentimentScore>) -> Self
pub fn set_sentiment_score(self, input: Option<SentimentScore>) -> Self
Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.
sourcepub fn build(self) -> MentionSentiment
pub fn build(self) -> MentionSentiment
Consumes the builder and constructs a MentionSentiment.