public static interface LiteralOptions.Builder extends CopyableBuilder<LiteralOptions.Builder,LiteralOptions>
Modifier and Type | Method and Description |
---|---|
LiteralOptions.Builder |
defaultValue(String defaultValue)
A value to use for the field if the field isn't specified for a document.
|
LiteralOptions.Builder |
facetEnabled(Boolean facetEnabled)
Whether facet information can be returned for the field.
|
LiteralOptions.Builder |
returnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results.
|
LiteralOptions.Builder |
searchEnabled(Boolean searchEnabled)
Whether the contents of the field are searchable.
|
LiteralOptions.Builder |
sortEnabled(Boolean sortEnabled)
Whether the field can be used to sort the search results.
|
LiteralOptions.Builder |
sourceField(String sourceField)
Sets the value of the SourceField property for this object.
|
copy
apply, build
LiteralOptions.Builder defaultValue(String defaultValue)
defaultValue
- A value to use for the field if the field isn't specified for a document.LiteralOptions.Builder sourceField(String sourceField)
sourceField
- The new value for the SourceField property for this object.LiteralOptions.Builder facetEnabled(Boolean facetEnabled)
Whether facet information can be returned for the field.
facetEnabled
- Whether facet information can be returned for the field.LiteralOptions.Builder searchEnabled(Boolean searchEnabled)
Whether the contents of the field are searchable.
searchEnabled
- Whether the contents of the field are searchable.LiteralOptions.Builder returnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results.
returnEnabled
- Whether the contents of the field can be returned in the search results.LiteralOptions.Builder sortEnabled(Boolean sortEnabled)
Whether the field can be used to sort the search results.
sortEnabled
- Whether the field can be used to sort the search results.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.