Interface AssistantAssociationData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssistantAssociationData.Builder,AssistantAssociationData>,SdkBuilder<AssistantAssociationData.Builder,AssistantAssociationData>,SdkPojo
- Enclosing class:
- AssistantAssociationData
public static interface AssistantAssociationData.Builder extends SdkPojo, CopyableBuilder<AssistantAssociationData.Builder,AssistantAssociationData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssistantAssociationData.BuilderassistantArn(String assistantArn)The Amazon Resource Name (ARN) of the Amazon Q assistant.AssistantAssociationData.BuilderassistantAssociationArn(String assistantAssociationArn)The Amazon Resource Name (ARN) of the assistant association.AssistantAssociationData.BuilderassistantAssociationId(String assistantAssociationId)The identifier of the assistant association.AssistantAssociationData.BuilderassistantId(String assistantId)The identifier of the Amazon Q assistant.default AssistantAssociationData.BuilderassociationData(Consumer<AssistantAssociationOutputData.Builder> associationData)A union type that currently has a single argument, the knowledge base ID.AssistantAssociationData.BuilderassociationData(AssistantAssociationOutputData associationData)A union type that currently has a single argument, the knowledge base ID.AssistantAssociationData.BuilderassociationType(String associationType)The type of association.AssistantAssociationData.BuilderassociationType(AssociationType associationType)The type of association.AssistantAssociationData.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.-
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 Detail
-
assistantArn
AssistantAssociationData.Builder assistantArn(String assistantArn)
The Amazon Resource Name (ARN) of the Amazon Q assistant.
- Parameters:
assistantArn- The Amazon Resource Name (ARN) of the Amazon Q assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistantAssociationArn
AssistantAssociationData.Builder assistantAssociationArn(String assistantAssociationArn)
The Amazon Resource Name (ARN) of the assistant association.
- Parameters:
assistantAssociationArn- The Amazon Resource Name (ARN) of the assistant association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistantAssociationId
AssistantAssociationData.Builder assistantAssociationId(String assistantAssociationId)
The identifier of the assistant association.
- Parameters:
assistantAssociationId- The identifier of the assistant association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistantId
AssistantAssociationData.Builder assistantId(String assistantId)
The identifier of the Amazon Q assistant.
- Parameters:
assistantId- The identifier of the Amazon Q assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationData
AssistantAssociationData.Builder associationData(AssistantAssociationOutputData associationData)
A union type that currently has a single argument, the knowledge base ID.
- Parameters:
associationData- A union type that currently has a single argument, the knowledge base ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationData
default AssistantAssociationData.Builder associationData(Consumer<AssistantAssociationOutputData.Builder> associationData)
A union type that currently has a single argument, the knowledge base ID.
This is a convenience method that creates an instance of theAssistantAssociationOutputData.Builderavoiding the need to create one manually viaAssistantAssociationOutputData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociationData(AssistantAssociationOutputData).- Parameters:
associationData- a consumer that will call methods onAssistantAssociationOutputData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
associationData(AssistantAssociationOutputData)
-
associationType
AssistantAssociationData.Builder associationType(String associationType)
The type of association.
- Parameters:
associationType- The type of association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssociationType,AssociationType
-
associationType
AssistantAssociationData.Builder associationType(AssociationType associationType)
The type of association.
- Parameters:
associationType- The type of association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssociationType,AssociationType
-
tags
AssistantAssociationData.Builder tags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-