@Generated(value="software.amazon.awssdk:codegen") public enum IndexFieldType extends Enum<IndexFieldType>
The type of field. The valid options for a field depend on the field type. For more information about the supported field types, see Configuring Index Fields in the Amazon CloudSearch Developer Guide.
Enum Constant and Description |
---|
DATE |
DATE_ARRAY |
DOUBLE |
DOUBLE_ARRAY |
INT |
INT_ARRAY |
LATLON |
LITERAL |
LITERAL_ARRAY |
TEXT |
TEXT_ARRAY |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static IndexFieldType |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<IndexFieldType> |
knownValues()
|
String |
toString() |
static IndexFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexFieldType INT
public static final IndexFieldType DOUBLE
public static final IndexFieldType LITERAL
public static final IndexFieldType TEXT
public static final IndexFieldType DATE
public static final IndexFieldType LATLON
public static final IndexFieldType INT_ARRAY
public static final IndexFieldType DOUBLE_ARRAY
public static final IndexFieldType LITERAL_ARRAY
public static final IndexFieldType TEXT_ARRAY
public static final IndexFieldType DATE_ARRAY
public static final IndexFieldType UNKNOWN_TO_SDK_VERSION
public static IndexFieldType[] values()
for (IndexFieldType c : IndexFieldType.values()) System.out.println(c);
public static IndexFieldType 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<IndexFieldType>
public static IndexFieldType fromValue(String value)
value
- real valuepublic static Set<IndexFieldType> knownValues()
values()
to return a Set
of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION
.Set
of known IndexFieldType
sCopyright © 2021 Amazon Web Services, Inc. All Rights Reserved.