Interface DocumentMetadataConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentMetadataConfiguration.Builder,
,DocumentMetadataConfiguration> SdkBuilder<DocumentMetadataConfiguration.Builder,
,DocumentMetadataConfiguration> SdkPojo
- Enclosing class:
DocumentMetadataConfiguration
@Mutable
@NotThreadSafe
public static interface DocumentMetadataConfiguration.Builder
extends SdkPojo, CopyableBuilder<DocumentMetadataConfiguration.Builder,DocumentMetadataConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the index field.relevance
(Consumer<Relevance.Builder> relevance) Provides tuning parameters to determine how the field affects the search results.Provides tuning parameters to determine how the field affects the search results.search
(Consumer<Search.Builder> search) Provides information about how the field is used during a search.Provides information about how the field is used during a search.The data type of the index field.The data type of the index 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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the index field.
- Parameters:
name
- The name of the index field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The data type of the index field.
- Parameters:
type
- The data type of the index field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The data type of the index field.
- Parameters:
type
- The data type of the index field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relevance
Provides tuning parameters to determine how the field affects the search results.
- Parameters:
relevance
- Provides tuning parameters to determine how the field affects the search results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relevance
Provides tuning parameters to determine how the field affects the search results.
This is a convenience method that creates an instance of theRelevance.Builder
avoiding the need to create one manually viaRelevance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torelevance(Relevance)
.- Parameters:
relevance
- a consumer that will call methods onRelevance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
search
Provides information about how the field is used during a search.
- Parameters:
search
- Provides information about how the field is used during a search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
search
Provides information about how the field is used during a search.
This is a convenience method that creates an instance of theSearch.Builder
avoiding the need to create one manually viaSearch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosearch(Search)
.- Parameters:
search
- a consumer that will call methods onSearch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-