Interface AssistantAssociationOutputData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssistantAssociationOutputData.Builder,,AssistantAssociationOutputData> SdkBuilder<AssistantAssociationOutputData.Builder,,AssistantAssociationOutputData> SdkPojo
- Enclosing class:
AssistantAssociationOutputData
@Mutable
@NotThreadSafe
public static interface AssistantAssociationOutputData.Builder
extends SdkPojo, CopyableBuilder<AssistantAssociationOutputData.Builder,AssistantAssociationOutputData>
-
Method Summary
Modifier and TypeMethodDescriptionexternalBedrockKnowledgeBaseConfig(Consumer<ExternalBedrockKnowledgeBaseConfig.Builder> externalBedrockKnowledgeBaseConfig) The configuration for an external Bedrock knowledge base association in the output data.externalBedrockKnowledgeBaseConfig(ExternalBedrockKnowledgeBaseConfig externalBedrockKnowledgeBaseConfig) The configuration for an external Bedrock knowledge base association in the output data.knowledgeBaseAssociation(Consumer<KnowledgeBaseAssociationData.Builder> knowledgeBaseAssociation) The knowledge base where output data is sent.knowledgeBaseAssociation(KnowledgeBaseAssociationData knowledgeBaseAssociation) The knowledge base where output data is sent.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
-
knowledgeBaseAssociation
AssistantAssociationOutputData.Builder knowledgeBaseAssociation(KnowledgeBaseAssociationData knowledgeBaseAssociation) The knowledge base where output data is sent.
- Parameters:
knowledgeBaseAssociation- The knowledge base where output data is sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseAssociation
default AssistantAssociationOutputData.Builder knowledgeBaseAssociation(Consumer<KnowledgeBaseAssociationData.Builder> knowledgeBaseAssociation) The knowledge base where output data is sent.
This is a convenience method that creates an instance of theKnowledgeBaseAssociationData.Builderavoiding the need to create one manually viaKnowledgeBaseAssociationData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toknowledgeBaseAssociation(KnowledgeBaseAssociationData).- Parameters:
knowledgeBaseAssociation- a consumer that will call methods onKnowledgeBaseAssociationData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
externalBedrockKnowledgeBaseConfig
AssistantAssociationOutputData.Builder externalBedrockKnowledgeBaseConfig(ExternalBedrockKnowledgeBaseConfig externalBedrockKnowledgeBaseConfig) The configuration for an external Bedrock knowledge base association in the output data.
- Parameters:
externalBedrockKnowledgeBaseConfig- The configuration for an external Bedrock knowledge base association in the output data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalBedrockKnowledgeBaseConfig
default AssistantAssociationOutputData.Builder externalBedrockKnowledgeBaseConfig(Consumer<ExternalBedrockKnowledgeBaseConfig.Builder> externalBedrockKnowledgeBaseConfig) The configuration for an external Bedrock knowledge base association in the output data.
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:
-