Serializable
, Comparable<IndexFieldType>
@Generated("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 | Description |
---|---|
Date |
|
DateArray |
|
Double |
|
DoubleArray |
|
Int |
|
IntArray |
|
Latlon |
|
Literal |
|
LiteralArray |
|
Text |
|
TextArray |
Modifier and Type | Method | Description |
---|---|---|
static IndexFieldType |
fromValue(String value) |
Use this in place of valueOf.
|
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 IntArray
public static final IndexFieldType DoubleArray
public static final IndexFieldType LiteralArray
public static final IndexFieldType TextArray
public static final IndexFieldType DateArray
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 valueCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.