@Generated(value="software.amazon.awssdk:codegen") public final class LiteralArrayOptions extends Object implements ToCopyableBuilder<LiteralArrayOptions.Builder,LiteralArrayOptions>
Options for a field that contains an array of literal strings. Present if IndexFieldType
specifies the
field is of type literal-array
. All options are enabled by default.
Modifier and Type | Class and Description |
---|---|
static interface |
LiteralArrayOptions.Builder |
Modifier and Type | Method and Description |
---|---|
static LiteralArrayOptions.Builder |
builder() |
String |
defaultValue()
A value to use for the field if the field isn't specified for a document.
|
boolean |
equals(Object obj) |
Boolean |
facetEnabled()
Whether facet information can be returned for the field.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
returnEnabled()
Whether the contents of the field can be returned in the search results.
|
Boolean |
searchEnabled()
Whether the contents of the field are searchable.
|
static Class<? extends LiteralArrayOptions.Builder> |
serializableBuilderClass() |
String |
sourceFields()
A list of source fields to map to the field.
|
LiteralArrayOptions.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String defaultValue()
public String sourceFields()
A list of source fields to map to the field.
public Boolean facetEnabled()
Whether facet information can be returned for the field.
public Boolean searchEnabled()
Whether the contents of the field are searchable.
public Boolean returnEnabled()
Whether the contents of the field can be returned in the search results.
public LiteralArrayOptions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LiteralArrayOptions.Builder,LiteralArrayOptions>
public static LiteralArrayOptions.Builder builder()
public static Class<? extends LiteralArrayOptions.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.