Interface IntOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IntOptions.Builder,IntOptions>,SdkBuilder<IntOptions.Builder,IntOptions>,SdkPojo
- Enclosing class:
- IntOptions
public static interface IntOptions.Builder extends SdkPojo, CopyableBuilder<IntOptions.Builder,IntOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntOptions.BuilderdefaultValue(Long defaultValue)A value to use for the field if the field isn't specified for a document.IntOptions.BuilderfacetEnabled(Boolean facetEnabled)Whether facet information can be returned for the field.IntOptions.BuilderreturnEnabled(Boolean returnEnabled)Whether the contents of the field can be returned in the search results.IntOptions.BuildersearchEnabled(Boolean searchEnabled)Whether the contents of the field are searchable.IntOptions.BuildersortEnabled(Boolean sortEnabled)Whether the field can be used to sort the search results.IntOptions.BuildersourceField(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 Detail
-
defaultValue
IntOptions.Builder defaultValue(Long 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
IntOptions.Builder sourceField(String 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
IntOptions.Builder facetEnabled(Boolean 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
IntOptions.Builder searchEnabled(Boolean 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
IntOptions.Builder returnEnabled(Boolean 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
IntOptions.Builder sortEnabled(Boolean 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.
-
-