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 get_sentiment(&self) -> &Option<SentimentType>
pub fn get_sentiment(&self) -> &Option<SentimentType>
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 get_sentiment_score(&self) -> &Option<SentimentScore>
pub fn get_sentiment_score(&self) -> &Option<SentimentScore>
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 for MentionSentimentBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for MentionSentimentBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MentionSentimentBuilder
impl Send for MentionSentimentBuilder
impl Sync for MentionSentimentBuilder
impl Unpin for MentionSentimentBuilder
impl UnwindSafe for MentionSentimentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more