Interface LiteralOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LiteralOptions.Builder,LiteralOptions>,SdkBuilder<LiteralOptions.Builder,LiteralOptions>,SdkPojo
- Enclosing class:
- LiteralOptions
public static interface LiteralOptions.Builder extends SdkPojo, CopyableBuilder<LiteralOptions.Builder,LiteralOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LiteralOptions.BuilderdefaultValue(String defaultValue)A value to use for the field if the field isn't specified for a document.LiteralOptions.BuilderfacetEnabled(Boolean facetEnabled)Whether facet information can be returned for the field.LiteralOptions.BuilderreturnEnabled(Boolean returnEnabled)Whether the contents of the field can be returned in the search results.LiteralOptions.BuildersearchEnabled(Boolean searchEnabled)Whether the contents of the field are searchable.LiteralOptions.BuildersortEnabled(Boolean sortEnabled)Whether the field can be used to sort the search results.LiteralOptions.BuildersourceField(String sourceField)Sets the value of the SourceField property for this object.-
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
LiteralOptions.Builder defaultValue(String defaultValue)
A value to use for the field if the field isn't specified for a document.- Parameters:
defaultValue- A value to use for the field if the field isn't specified for a document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceField
LiteralOptions.Builder sourceField(String sourceField)
Sets the value of the SourceField property for this object.- Parameters:
sourceField- The new value for the SourceField property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
facetEnabled
LiteralOptions.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
LiteralOptions.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
LiteralOptions.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
LiteralOptions.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.
-
-