Interface QueryAssistantRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<QueryAssistantRequest.Builder,QueryAssistantRequest>,SdkBuilder<QueryAssistantRequest.Builder,QueryAssistantRequest>,SdkPojo,SdkRequest.Builder,WisdomRequest.Builder
- Enclosing class:
- QueryAssistantRequest
public static interface QueryAssistantRequest.Builder extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<QueryAssistantRequest.Builder,QueryAssistantRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryAssistantRequest.BuilderassistantId(String assistantId)The identifier of the Wisdom assistant.QueryAssistantRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return per page.QueryAssistantRequest.BuildernextToken(String nextToken)The token for the next set of results.QueryAssistantRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)QueryAssistantRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)QueryAssistantRequest.BuilderqueryText(String queryText)The text to search for.-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomRequest.Builder
build
-
-
-
-
Method Detail
-
assistantId
QueryAssistantRequest.Builder assistantId(String assistantId)
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
assistantId- The identifier of the Wisdom 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
QueryAssistantRequest.Builder maxResults(Integer 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
QueryAssistantRequest.Builder nextToken(String 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.
-
queryText
QueryAssistantRequest.Builder queryText(String 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.
-
overrideConfiguration
QueryAssistantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
QueryAssistantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-