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 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
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:
-