Interface SentimentScore.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SentimentScore.Builder,
,SentimentScore> SdkBuilder<SentimentScore.Builder,
,SentimentScore> SdkPojo
- Enclosing class:
SentimentScore
public static interface SentimentScore.Builder
extends SdkPojo, CopyableBuilder<SentimentScore.Builder,SentimentScore>
-
Method Summary
Modifier and TypeMethodDescriptionThe level of confidence that Amazon Comprehend has in the accuracy of its detection of theMIXED
sentiment.The level of confidence that Amazon Comprehend has in the accuracy of its detection of theNEGATIVE
sentiment.The level of confidence that Amazon Comprehend has in the accuracy of its detection of theNEUTRAL
sentiment.The level of confidence that Amazon Comprehend has in the accuracy of its detection of thePOSITIVE
sentiment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
positive
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
POSITIVE
sentiment.- Parameters:
positive
- The level of confidence that Amazon Comprehend has in the accuracy of its detection of thePOSITIVE
sentiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
negative
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
NEGATIVE
sentiment.- Parameters:
negative
- The level of confidence that Amazon Comprehend has in the accuracy of its detection of theNEGATIVE
sentiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neutral
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
NEUTRAL
sentiment.- Parameters:
neutral
- The level of confidence that Amazon Comprehend has in the accuracy of its detection of theNEUTRAL
sentiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mixed
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
MIXED
sentiment.- Parameters:
mixed
- The level of confidence that Amazon Comprehend has in the accuracy of its detection of theMIXED
sentiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-