Struct aws_sdk_comprehend::operation::detect_targeted_sentiment::builders::DetectTargetedSentimentOutputBuilder
source · #[non_exhaustive]pub struct DetectTargetedSentimentOutputBuilder { /* private fields */ }Expand description
A builder for DetectTargetedSentimentOutput.
Implementations§
source§impl DetectTargetedSentimentOutputBuilder
impl DetectTargetedSentimentOutputBuilder
sourcepub fn entities(self, input: TargetedSentimentEntity) -> Self
pub fn entities(self, input: TargetedSentimentEntity) -> Self
Appends an item to entities.
To override the contents of this collection use set_entities.
Targeted sentiment analysis for each of the entities identified in the input text.
sourcepub fn set_entities(self, input: Option<Vec<TargetedSentimentEntity>>) -> Self
pub fn set_entities(self, input: Option<Vec<TargetedSentimentEntity>>) -> Self
Targeted sentiment analysis for each of the entities identified in the input text.
sourcepub fn build(self) -> DetectTargetedSentimentOutput
pub fn build(self) -> DetectTargetedSentimentOutput
Consumes the builder and constructs a DetectTargetedSentimentOutput.
Trait Implementations§
source§impl Clone for DetectTargetedSentimentOutputBuilder
impl Clone for DetectTargetedSentimentOutputBuilder
source§fn clone(&self) -> DetectTargetedSentimentOutputBuilder
fn clone(&self) -> DetectTargetedSentimentOutputBuilder
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 Default for DetectTargetedSentimentOutputBuilder
impl Default for DetectTargetedSentimentOutputBuilder
source§fn default() -> DetectTargetedSentimentOutputBuilder
fn default() -> DetectTargetedSentimentOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DetectTargetedSentimentOutputBuilder> for DetectTargetedSentimentOutputBuilder
impl PartialEq<DetectTargetedSentimentOutputBuilder> for DetectTargetedSentimentOutputBuilder
source§fn eq(&self, other: &DetectTargetedSentimentOutputBuilder) -> bool
fn eq(&self, other: &DetectTargetedSentimentOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.