@Generated(value="software.amazon.awssdk:codegen") public final class SentimentScore extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SentimentScore.Builder,SentimentScore>
Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SentimentScore.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SentimentScore.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Float |
mixed()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
MIXED
sentiment. |
Float |
negative()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
NEGATIVE
sentiment. |
Float |
neutral()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the
NEUTRAL
sentiment. |
Float |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Float positive()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE
sentiment.
POSITIVE sentiment.public Float negative()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE
sentiment.
NEGATIVE sentiment.public Float neutral()
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL
sentiment.
NEUTRAL sentiment.public Float 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<SentimentScore.Builder,SentimentScore>public static SentimentScore.Builder builder()
public static Class<? extends SentimentScore.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.