ToCopyableBuilder<LiteralOptions.Builder,LiteralOptions>
@Generated("software.amazon.awssdk:codegen") public class LiteralOptions extends Object implements ToCopyableBuilder<LiteralOptions.Builder,LiteralOptions>
Options for literal field. Present if IndexFieldType
specifies the field is of type literal
. All options are enabled by default.
Modifier and Type | Class | Description |
---|---|---|
static interface |
LiteralOptions.Builder |
Modifier and Type | Method | Description |
---|---|---|
static LiteralOptions.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.
|
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 LiteralOptions.Builder> |
serializableBuilderClass() |
|
Boolean |
sortEnabled() |
Whether the field can be used to sort the search results.
|
String |
sourceField() |
|
LiteralOptions.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String defaultValue()
public String sourceField()
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 Boolean sortEnabled()
Whether the field can be used to sort the search results.
public LiteralOptions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LiteralOptions.Builder,LiteralOptions>
public static LiteralOptions.Builder builder()
public static Class<? extends LiteralOptions.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.