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 get_entities(&self) -> &Option<Vec<TargetedSentimentEntity>>
pub fn get_entities(&self) -> &Option<Vec<TargetedSentimentEntity>>
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 for DetectTargetedSentimentOutputBuilder
impl PartialEq for DetectTargetedSentimentOutputBuilder
source§fn eq(&self, other: &DetectTargetedSentimentOutputBuilder) -> bool
fn eq(&self, other: &DetectTargetedSentimentOutputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DetectTargetedSentimentOutputBuilder
Auto Trait Implementations§
impl Freeze for DetectTargetedSentimentOutputBuilder
impl RefUnwindSafe for DetectTargetedSentimentOutputBuilder
impl Send for DetectTargetedSentimentOutputBuilder
impl Sync for DetectTargetedSentimentOutputBuilder
impl Unpin for DetectTargetedSentimentOutputBuilder
impl UnwindSafe for DetectTargetedSentimentOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.