Interface QQueryCardInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QQueryCardInput.Builder,QQueryCardInput>,SdkBuilder<QQueryCardInput.Builder,QQueryCardInput>,SdkPojo
- Enclosing class:
- QQueryCardInput
public static interface QQueryCardInput.Builder extends SdkPojo, CopyableBuilder<QQueryCardInput.Builder,QQueryCardInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default QQueryCardInput.BuilderattributeFilter(Consumer<AttributeFilter.Builder> attributeFilter)Turns on filtering of responses based on document attributes or metadata fields.QQueryCardInput.BuilderattributeFilter(AttributeFilter attributeFilter)Turns on filtering of responses based on document attributes or metadata fields.QQueryCardInput.Builderid(String id)The unique identifier of the query card.QQueryCardInput.BuilderoutputSource(String outputSource)The source or type of output to generate for the query card.QQueryCardInput.BuilderoutputSource(CardOutputSource outputSource)The source or type of output to generate for the query card.QQueryCardInput.Builderprompt(String prompt)The prompt or instructions displayed for the query card.QQueryCardInput.Buildertitle(String title)The title or label of the query card.QQueryCardInput.Buildertype(String type)The type of the card.QQueryCardInput.Buildertype(CardType type)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, sdkFields
-
-
-
-
Method Detail
-
title
QQueryCardInput.Builder title(String 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
QQueryCardInput.Builder id(String 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
QQueryCardInput.Builder type(String type)
The type of the card.
-
type
QQueryCardInput.Builder type(CardType type)
The type of the card.
-
prompt
QQueryCardInput.Builder prompt(String 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
QQueryCardInput.Builder outputSource(String 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:
CardOutputSource,CardOutputSource
-
outputSource
QQueryCardInput.Builder outputSource(CardOutputSource 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:
CardOutputSource,CardOutputSource
-
attributeFilter
QQueryCardInput.Builder attributeFilter(AttributeFilter 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
default QQueryCardInput.Builder attributeFilter(Consumer<AttributeFilter.Builder> attributeFilter)
Turns on filtering of responses based on document attributes or metadata fields.
This is a convenience method that creates an instance of theAttributeFilter.Builderavoiding the need to create one manually viaAttributeFilter.builder().When the
Consumercompletes,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:
attributeFilter(AttributeFilter)
-
-