@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum RetrieverType extends Enum<RetrieverType>
Enum Constant and Description |
---|
KENDRA_INDEX |
NATIVE_INDEX |
Modifier and Type | Method and Description |
---|---|
static RetrieverType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static RetrieverType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetrieverType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetrieverType NATIVE_INDEX
public static final RetrieverType KENDRA_INDEX
public static RetrieverType[] values()
for (RetrieverType c : RetrieverType.values()) System.out.println(c);
public static RetrieverType 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<RetrieverType>
public static RetrieverType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.