@Generated(value="software.amazon.awssdk:codegen") public final class SentimentScore extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SentimentScore.Builder,SentimentScore>
The individual sentiment responses for the utterance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SentimentScore.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SentimentScore.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
mixed()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
MIXED
sentiment. |
Double |
negative()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
NEGATIVE
sentiment. |
Double |
neutral()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
NEUTRAL
sentiment. |
Double |
positive()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
POSITIVE
sentiment. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SentimentScore.Builder> |
serializableBuilderClass() |
SentimentScore.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double positive()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE
sentiment.
POSITIVE sentiment.public final Double negative()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE
sentiment.
NEGATIVE sentiment.public final Double neutral()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL
sentiment.
NEUTRAL sentiment.public final Double mixed()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the MIXED
sentiment.
MIXED sentiment.public SentimentScore.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SentimentScore.Builder,SentimentScore>public static SentimentScore.Builder builder()
public static Class<? extends SentimentScore.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.