Interface AssistantAssociationOutputData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssistantAssociationOutputData.Builder,
,AssistantAssociationOutputData> SdkBuilder<AssistantAssociationOutputData.Builder,
,AssistantAssociationOutputData> SdkPojo
- Enclosing class:
AssistantAssociationOutputData
public static interface AssistantAssociationOutputData.Builder
extends SdkPojo, CopyableBuilder<AssistantAssociationOutputData.Builder,AssistantAssociationOutputData>
-
Method Summary
Modifier and TypeMethodDescriptionknowledgeBaseAssociation
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builder
avoiding the need to create one manually viaKnowledgeBaseAssociationData.builder()
.When the
Consumer
completes,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:
-