@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum TargetedSentimentEntityType extends Enum<TargetedSentimentEntityType>
Enum Constant and Description |
---|
ATTRIBUTE |
BOOK |
BRAND |
COMMERCIAL_ITEM |
DATE |
EVENT |
FACILITY |
GAME |
LOCATION |
MOVIE |
MUSIC |
ORGANIZATION |
OTHER |
PERSON |
PERSONAL_TITLE |
QUANTITY |
SOFTWARE |
Modifier and Type | Method and Description |
---|---|
static TargetedSentimentEntityType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static TargetedSentimentEntityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetedSentimentEntityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetedSentimentEntityType PERSON
public static final TargetedSentimentEntityType LOCATION
public static final TargetedSentimentEntityType ORGANIZATION
public static final TargetedSentimentEntityType FACILITY
public static final TargetedSentimentEntityType BRAND
public static final TargetedSentimentEntityType COMMERCIAL_ITEM
public static final TargetedSentimentEntityType MOVIE
public static final TargetedSentimentEntityType MUSIC
public static final TargetedSentimentEntityType BOOK
public static final TargetedSentimentEntityType SOFTWARE
public static final TargetedSentimentEntityType GAME
public static final TargetedSentimentEntityType PERSONAL_TITLE
public static final TargetedSentimentEntityType EVENT
public static final TargetedSentimentEntityType DATE
public static final TargetedSentimentEntityType QUANTITY
public static final TargetedSentimentEntityType ATTRIBUTE
public static final TargetedSentimentEntityType OTHER
public static TargetedSentimentEntityType[] values()
for (TargetedSentimentEntityType c : TargetedSentimentEntityType.values()) System.out.println(c);
public static TargetedSentimentEntityType 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 String toString()
toString
in class Enum<TargetedSentimentEntityType>
public static TargetedSentimentEntityType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.