Interface KnowledgeBaseAssociationConfigurationData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KnowledgeBaseAssociationConfigurationData.Builder,
,KnowledgeBaseAssociationConfigurationData> SdkBuilder<KnowledgeBaseAssociationConfigurationData.Builder,
,KnowledgeBaseAssociationConfigurationData> SdkPojo
- Enclosing class:
KnowledgeBaseAssociationConfigurationData
@Mutable
@NotThreadSafe
public static interface KnowledgeBaseAssociationConfigurationData.Builder
extends SdkPojo, CopyableBuilder<KnowledgeBaseAssociationConfigurationData.Builder,KnowledgeBaseAssociationConfigurationData>
-
Method Summary
Modifier and TypeMethodDescriptioncontentTagFilter
(Consumer<TagFilter.Builder> contentTagFilter) Sets the value of the ContentTagFilter property for this object.contentTagFilter
(TagFilter contentTagFilter) Sets the value of the ContentTagFilter property for this object.maxResults
(Integer maxResults) The maximum number of results to return per page.overrideKnowledgeBaseSearchType
(String overrideKnowledgeBaseSearchType) The search type to be used against the Knowledge Base for this request.overrideKnowledgeBaseSearchType
(KnowledgeBaseSearchType overrideKnowledgeBaseSearchType) The search type to be used against the Knowledge Base for this request.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
-
contentTagFilter
Sets the value of the ContentTagFilter property for this object.- Parameters:
contentTagFilter
- The new value for the ContentTagFilter property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentTagFilter
default KnowledgeBaseAssociationConfigurationData.Builder contentTagFilter(Consumer<TagFilter.Builder> contentTagFilter) Sets the value of the ContentTagFilter property for this object. This is a convenience method that creates an instance of theTagFilter.Builder
avoiding the need to create one manually viaTagFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontentTagFilter(TagFilter)
.- Parameters:
contentTagFilter
- a consumer that will call methods onTagFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return per page.
- Parameters:
maxResults
- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideKnowledgeBaseSearchType
KnowledgeBaseAssociationConfigurationData.Builder overrideKnowledgeBaseSearchType(String overrideKnowledgeBaseSearchType) The search type to be used against the Knowledge Base for this request. The values can be
SEMANTIC
which uses vector embeddings orHYBRID
which use vector embeddings and raw text- Parameters:
overrideKnowledgeBaseSearchType
- The search type to be used against the Knowledge Base for this request. The values can beSEMANTIC
which uses vector embeddings orHYBRID
which use vector embeddings and raw text- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideKnowledgeBaseSearchType
KnowledgeBaseAssociationConfigurationData.Builder overrideKnowledgeBaseSearchType(KnowledgeBaseSearchType overrideKnowledgeBaseSearchType) The search type to be used against the Knowledge Base for this request. The values can be
SEMANTIC
which uses vector embeddings orHYBRID
which use vector embeddings and raw text- Parameters:
overrideKnowledgeBaseSearchType
- The search type to be used against the Knowledge Base for this request. The values can beSEMANTIC
which uses vector embeddings orHYBRID
which use vector embeddings and raw text- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-