Interface DoubleOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DoubleOptions.Builder,
,DoubleOptions> SdkBuilder<DoubleOptions.Builder,
,DoubleOptions> SdkPojo
- Enclosing class:
DoubleOptions
public static interface DoubleOptions.Builder
extends SdkPojo, CopyableBuilder<DoubleOptions.Builder,DoubleOptions>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultValue
(Double defaultValue) A value to use for the field if the field isn't specified for a document.facetEnabled
(Boolean facetEnabled) Whether facet information can be returned for the field.returnEnabled
(Boolean returnEnabled) Whether the contents of the field can be returned in the search results.searchEnabled
(Boolean searchEnabled) Whether the contents of the field are searchable.sortEnabled
(Boolean sortEnabled) Whether the field can be used to sort the search results.sourceField
(String sourceField) The name of the source field to map to the field.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceField
The name of the source field to map to the field.
- Parameters:
sourceField
- The name of the source field to map to the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
facetEnabled
Whether facet information can be returned for the field.
- Parameters:
facetEnabled
- Whether facet information can be returned for the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchEnabled
Whether the contents of the field are searchable.
- Parameters:
searchEnabled
- Whether the contents of the field are searchable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnEnabled
Whether the contents of the field can be returned in the search results.
- Parameters:
returnEnabled
- Whether the contents of the field can be returned in the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortEnabled
Whether the field can be used to sort the search results.
- Parameters:
sortEnabled
- Whether the field can be used to sort the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-