Interface QQueryCard.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QQueryCard.Builder,
,QQueryCard> SdkBuilder<QQueryCard.Builder,
,QQueryCard> SdkPojo
- Enclosing class:
QQueryCard
-
Method Summary
Modifier and TypeMethodDescriptiondefault QQueryCard.Builder
attributeFilter
(Consumer<AttributeFilter.Builder> attributeFilter) The Amazon Q Business filters applied in this query card when resolving data sourcesattributeFilter
(AttributeFilter attributeFilter) The Amazon Q Business filters applied in this query card when resolving data sourcesdependencies
(String... dependencies) Any dependencies or requirements for the query card.dependencies
(Collection<String> dependencies) Any dependencies or requirements for the query card.The unique identifier of the query card.memoryReferences
(String... memoryReferences) Any dependencies for the query card, where the dependencies are references to the collected responses.memoryReferences
(Collection<String> memoryReferences) Any dependencies for the query card, where the dependencies are references to the collected responses.outputSource
(String outputSource) The source or type of output generated by the query card.outputSource
(CardOutputSource outputSource) The source or type of output generated by the query card.The prompt or instructions displayed for the query card.The title or label of the query card.The type of the card.The type of the card.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, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier of the query card.
- Parameters:
id
- The unique identifier of the query card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title or label of the query card.
- Parameters:
title
- The title or label of the query card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencies
Any dependencies or requirements for the query card.
- Parameters:
dependencies
- Any dependencies or requirements for the query card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencies
Any dependencies or requirements for the query card.
- Parameters:
dependencies
- Any dependencies or requirements for the query card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the card.
- Parameters:
type
- The type of the card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the card.
- Parameters:
type
- The type of the card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
prompt
The prompt or instructions displayed for the query card.
- Parameters:
prompt
- The prompt or instructions displayed for the query card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSource
The source or type of output generated by the query card.
- Parameters:
outputSource
- The source or type of output generated by the query card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputSource
The source or type of output generated by the query card.
- Parameters:
outputSource
- The source or type of output generated by the query card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeFilter
The Amazon Q Business filters applied in this query card when resolving data sources
- Parameters:
attributeFilter
- The Amazon Q Business filters applied in this query card when resolving data sources- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilter
The Amazon Q Business filters applied in this query card when resolving data sources
This is a convenience method that creates an instance of theAttributeFilter.Builder
avoiding the need to create one manually viaAttributeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeFilter(AttributeFilter)
.- Parameters:
attributeFilter
- a consumer that will call methods onAttributeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memoryReferences
Any dependencies for the query card, where the dependencies are references to the collected responses.
- Parameters:
memoryReferences
- Any dependencies for the query card, where the dependencies are references to the collected responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryReferences
Any dependencies for the query card, where the dependencies are references to the collected responses.
- Parameters:
memoryReferences
- Any dependencies for the query card, where the dependencies are references to the collected responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-