Interface AssistantAssociationInputData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssistantAssociationInputData.Builder,,AssistantAssociationInputData> SdkBuilder<AssistantAssociationInputData.Builder,,AssistantAssociationInputData> SdkPojo
- Enclosing class:
AssistantAssociationInputData
@Mutable
@NotThreadSafe
public static interface AssistantAssociationInputData.Builder
extends SdkPojo, CopyableBuilder<AssistantAssociationInputData.Builder,AssistantAssociationInputData>
-
Method Summary
Modifier and TypeMethodDescriptionexternalBedrockKnowledgeBaseConfig(Consumer<ExternalBedrockKnowledgeBaseConfig.Builder> externalBedrockKnowledgeBaseConfig) The configuration for an external Bedrock knowledge base association.externalBedrockKnowledgeBaseConfig(ExternalBedrockKnowledgeBaseConfig externalBedrockKnowledgeBaseConfig) The configuration for an external Bedrock knowledge base association.knowledgeBaseId(String knowledgeBaseId) The identifier of the knowledge base.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
knowledgeBaseId
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base.
- Parameters:
knowledgeBaseId- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalBedrockKnowledgeBaseConfig
AssistantAssociationInputData.Builder externalBedrockKnowledgeBaseConfig(ExternalBedrockKnowledgeBaseConfig externalBedrockKnowledgeBaseConfig) The configuration for an external Bedrock knowledge base association.
- Parameters:
externalBedrockKnowledgeBaseConfig- The configuration for an external Bedrock knowledge base association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalBedrockKnowledgeBaseConfig
default AssistantAssociationInputData.Builder externalBedrockKnowledgeBaseConfig(Consumer<ExternalBedrockKnowledgeBaseConfig.Builder> externalBedrockKnowledgeBaseConfig) The configuration for an external Bedrock knowledge base association.
This is a convenience method that creates an instance of theExternalBedrockKnowledgeBaseConfig.Builderavoiding the need to create one manually viaExternalBedrockKnowledgeBaseConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexternalBedrockKnowledgeBaseConfig(ExternalBedrockKnowledgeBaseConfig).- Parameters:
externalBedrockKnowledgeBaseConfig- a consumer that will call methods onExternalBedrockKnowledgeBaseConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-