public static interface DoubleOptions.Builder extends CopyableBuilder<DoubleOptions.Builder,DoubleOptions>
Modifier and Type | Method and Description |
---|---|
DoubleOptions.Builder |
defaultValue(Double defaultValue)
A value to use for the field if the field isn't specified for a document.
|
DoubleOptions.Builder |
facetEnabled(Boolean facetEnabled)
Whether facet information can be returned for the field.
|
DoubleOptions.Builder |
returnEnabled(Boolean returnEnabled)
Whether the contents of the field can be returned in the search results.
|
DoubleOptions.Builder |
searchEnabled(Boolean searchEnabled)
Whether the contents of the field are searchable.
|
DoubleOptions.Builder |
sortEnabled(Boolean sortEnabled)
Whether the field can be used to sort the search results.
|
DoubleOptions.Builder |
sourceField(String sourceField)
The name of the source field to map to the field.
|
copy
applyMutation, build
DoubleOptions.Builder defaultValue(Double defaultValue)
A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.
defaultValue
- A value to use for the field if the field isn't specified for a document. This can be important if you
are using the field in an expression and that field is not present in every document.DoubleOptions.Builder sourceField(String sourceField)
The name of the source field to map to the field.
sourceField
- The name of the source field to map to the field.DoubleOptions.Builder facetEnabled(Boolean facetEnabled)
Whether facet information can be returned for the field.
facetEnabled
- Whether facet information can be returned for the field.DoubleOptions.Builder searchEnabled(Boolean searchEnabled)
Whether the contents of the field are searchable.
searchEnabled
- Whether the contents of the field are searchable.DoubleOptions.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.DoubleOptions.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.