Class CfnIndex.SearchProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnIndex.SearchProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnIndex.SearchProperty>
- Enclosing interface:
- CfnIndex.SearchProperty
@Stability(Stable)
public static final class CfnIndex.SearchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndex.SearchProperty>
A builder for 
CfnIndex.SearchProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.displayable(Boolean displayable) Sets the value ofCfnIndex.SearchProperty.getDisplayable()displayable(IResolvable displayable) Sets the value ofCfnIndex.SearchProperty.getDisplayable()Sets the value ofCfnIndex.SearchProperty.getFacetable()facetable(IResolvable facetable) Sets the value ofCfnIndex.SearchProperty.getFacetable()searchable(Boolean searchable) Sets the value ofCfnIndex.SearchProperty.getSearchable()searchable(IResolvable searchable) Sets the value ofCfnIndex.SearchProperty.getSearchable()Sets the value ofCfnIndex.SearchProperty.getSortable()sortable(IResolvable sortable) Sets the value ofCfnIndex.SearchProperty.getSortable()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
displayableSets the value ofCfnIndex.SearchProperty.getDisplayable()- Parameters:
- displayable- Determines whether the field is returned in the query response. The default is- true.
- Returns:
- this
 
- 
displayableSets the value ofCfnIndex.SearchProperty.getDisplayable()- Parameters:
- displayable- Determines whether the field is returned in the query response. The default is- true.
- Returns:
- this
 
- 
facetableSets the value ofCfnIndex.SearchProperty.getFacetable()- Parameters:
- facetable- Indicates that the field can be used to create search facets, a count of results for each value in the field. The default is- false.
- Returns:
- this
 
- 
facetableSets the value ofCfnIndex.SearchProperty.getFacetable()- Parameters:
- facetable- Indicates that the field can be used to create search facets, a count of results for each value in the field. The default is- false.
- Returns:
- this
 
- 
searchableSets the value ofCfnIndex.SearchProperty.getSearchable()- Parameters:
- searchable- Determines whether the field is used in the search. If the- Searchablefield is- true, you can use relevance tuning to manually tune how Amazon Kendra weights the field in the search. The default is- truefor string fields and- falsefor number and date fields.
- Returns:
- this
 
- 
searchableSets the value ofCfnIndex.SearchProperty.getSearchable()- Parameters:
- searchable- Determines whether the field is used in the search. If the- Searchablefield is- true, you can use relevance tuning to manually tune how Amazon Kendra weights the field in the search. The default is- truefor string fields and- falsefor number and date fields.
- Returns:
- this
 
- 
sortableSets the value ofCfnIndex.SearchProperty.getSortable()- Parameters:
- sortable- Determines whether the field can be used to sort the results of a query. The default is- false.
- Returns:
- this
 
- 
sortableSets the value ofCfnIndex.SearchProperty.getSortable()- Parameters:
- sortable- Determines whether the field can be used to sort the results of a query. The default is- false.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnIndex.SearchProperty>
- Returns:
- a new instance of CfnIndex.SearchProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-