@Generated(value="software.amazon.awssdk:codegen") public enum Sentiment extends Enum<Sentiment>
| Enum Constant and Description |
|---|
MIXED |
NEGATIVE |
NEUTRAL |
POSITIVE |
UNKNOWN_TO_SDK_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static Sentiment |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<Sentiment> |
knownValues()
|
String |
toString() |
static Sentiment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sentiment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sentiment POSITIVE
public static final Sentiment NEGATIVE
public static final Sentiment MIXED
public static final Sentiment NEUTRAL
public static final Sentiment UNKNOWN_TO_SDK_VERSION
public static Sentiment[] values()
for (Sentiment c : Sentiment.values()) System.out.println(c);
public static Sentiment valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Sentiment fromValue(String value)
value - real valueCopyright © 2023. All rights reserved.