Interface SentimentScore.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SentimentScore.Builder,,SentimentScore> SdkBuilder<SentimentScore.Builder,,SentimentScore> SdkPojo
- Enclosing class:
SentimentScore
@Mutable
@NotThreadSafe
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 theMIXEDsentiment.The level of confidence that Amazon Comprehend has in the accuracy of its detection of theNEGATIVEsentiment.The level of confidence that Amazon Comprehend has in the accuracy of its detection of theNEUTRALsentiment.The level of confidence that Amazon Comprehend has in the accuracy of its detection of thePOSITIVEsentiment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
positive
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
POSITIVEsentiment.- Parameters:
positive- The level of confidence that Amazon Comprehend has in the accuracy of its detection of thePOSITIVEsentiment.- 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
NEGATIVEsentiment.- Parameters:
negative- The level of confidence that Amazon Comprehend has in the accuracy of its detection of theNEGATIVEsentiment.- 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
NEUTRALsentiment.- Parameters:
neutral- The level of confidence that Amazon Comprehend has in the accuracy of its detection of theNEUTRALsentiment.- 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
MIXEDsentiment.- Parameters:
mixed- The level of confidence that Amazon Comprehend has in the accuracy of its detection of theMIXEDsentiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-