Interface QQueryCardInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QQueryCardInput.Builder,
,QQueryCardInput> SdkBuilder<QQueryCardInput.Builder,
,QQueryCardInput> SdkPojo
- Enclosing class:
QQueryCardInput
@Mutable
@NotThreadSafe
public static interface QQueryCardInput.Builder
extends SdkPojo, CopyableBuilder<QQueryCardInput.Builder,QQueryCardInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault QQueryCardInput.Builder
attributeFilter
(Consumer<AttributeFilter.Builder> attributeFilter) Turns on filtering of responses based on document attributes or metadata fields.attributeFilter
(AttributeFilter attributeFilter) Turns on filtering of responses based on document attributes or metadata fields.The unique identifier of the query card.outputSource
(String outputSource) The source or type of output to generate for the query card.outputSource
(CardOutputSource outputSource) The source or type of output to generate for 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
-
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.
-
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.
-
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 to generate for the query card.
- Parameters:
outputSource
- The source or type of output to generate for 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 to generate for the query card.
- Parameters:
outputSource
- The source or type of output to generate for the query card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeFilter
Turns on filtering of responses based on document attributes or metadata fields.
- Parameters:
attributeFilter
- Turns on filtering of responses based on document attributes or metadata fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeFilter
Turns on filtering of responses based on document attributes or metadata fields.
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:
-