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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SentimentScore.Buildermixed(Float mixed)The level of confidence that Amazon Comprehend has in the accuracy of its detection of theMIXEDsentiment.SentimentScore.Buildernegative(Float negative)The level of confidence that Amazon Comprehend has in the accuracy of its detection of theNEGATIVEsentiment.SentimentScore.Builderneutral(Float neutral)The level of confidence that Amazon Comprehend has in the accuracy of its detection of theNEUTRALsentiment.SentimentScore.Builderpositive(Float positive)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
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 Detail
-
positive
SentimentScore.Builder positive(Float 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
SentimentScore.Builder negative(Float 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
SentimentScore.Builder neutral(Float 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
SentimentScore.Builder mixed(Float 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.
-
-