Struct aws_sdk_comprehend::types::builders::MentionSentimentBuilder
source · #[non_exhaustive]pub struct MentionSentimentBuilder { /* private fields */ }Expand description
A builder for MentionSentiment.
Implementations§
source§impl MentionSentimentBuilder
impl MentionSentimentBuilder
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.
Trait Implementations§
source§impl Clone for MentionSentimentBuilder
impl Clone for MentionSentimentBuilder
source§fn clone(&self) -> MentionSentimentBuilder
fn clone(&self) -> MentionSentimentBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MentionSentimentBuilder
impl Debug for MentionSentimentBuilder
source§impl Default for MentionSentimentBuilder
impl Default for MentionSentimentBuilder
source§fn default() -> MentionSentimentBuilder
fn default() -> MentionSentimentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<MentionSentimentBuilder> for MentionSentimentBuilder
impl PartialEq<MentionSentimentBuilder> for MentionSentimentBuilder
source§fn eq(&self, other: &MentionSentimentBuilder) -> bool
fn eq(&self, other: &MentionSentimentBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.