Interface QueryAssistantRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<QueryAssistantRequest.Builder,
,QueryAssistantRequest> QConnectRequest.Builder
,SdkBuilder<QueryAssistantRequest.Builder,
,QueryAssistantRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
QueryAssistantRequest
public static interface QueryAssistantRequest.Builder
extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<QueryAssistantRequest.Builder,QueryAssistantRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassistantId
(String assistantId) The identifier of the Amazon Q in Connect assistant.maxResults
(Integer maxResults) The maximum number of results to return per page.The token for the next set of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.queryCondition
(Collection<QueryCondition> queryCondition) Information about how to query content.queryCondition
(Consumer<QueryCondition.Builder>... queryCondition) Information about how to query content.queryCondition
(QueryCondition... queryCondition) Information about how to query content.The text to search for.The identifier of the Amazon Q in Connect session.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assistantId
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
assistantId
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return per page.
- Parameters:
maxResults
- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryCondition
Information about how to query content.
- Parameters:
queryCondition
- Information about how to query content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryCondition
Information about how to query content.
- Parameters:
queryCondition
- Information about how to query content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryCondition
Information about how to query content.
This is a convenience method that creates an instance of theQueryCondition.Builder
avoiding the need to create one manually viaQueryCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueryCondition(List<QueryCondition>)
.- Parameters:
queryCondition
- a consumer that will call methods onQueryCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryText
The text to search for.
- Parameters:
queryText
- The text to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The identifier of the Amazon Q in Connect session. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
sessionId
- The identifier of the Amazon Q in Connect session. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
QueryAssistantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
QueryAssistantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-