Interface SearchSessionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchSessionsRequest.Builder,SearchSessionsRequest>,SdkBuilder<SearchSessionsRequest.Builder,SearchSessionsRequest>,SdkPojo,SdkRequest.Builder,WisdomRequest.Builder
- Enclosing class:
- SearchSessionsRequest
public static interface SearchSessionsRequest.Builder extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<SearchSessionsRequest.Builder,SearchSessionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SearchSessionsRequest.BuilderassistantId(String assistantId)The identifier of the Wisdom assistant.SearchSessionsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return per page.SearchSessionsRequest.BuildernextToken(String nextToken)The token for the next set of results.SearchSessionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SearchSessionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default SearchSessionsRequest.BuildersearchExpression(Consumer<SearchExpression.Builder> searchExpression)The search expression to filter results.SearchSessionsRequest.BuildersearchExpression(SearchExpression searchExpression)The search expression to filter results.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomRequest.Builder
build
-
-
-
-
Method Detail
-
assistantId
SearchSessionsRequest.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
SearchSessionsRequest.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
SearchSessionsRequest.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.
-
searchExpression
SearchSessionsRequest.Builder searchExpression(SearchExpression searchExpression)
The search expression to filter results.
- Parameters:
searchExpression- The search expression to filter results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchExpression
default SearchSessionsRequest.Builder searchExpression(Consumer<SearchExpression.Builder> searchExpression)
The search expression to filter results.
This is a convenience method that creates an instance of theSearchExpression.Builderavoiding the need to create one manually viaSearchExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosearchExpression(SearchExpression).- Parameters:
searchExpression- a consumer that will call methods onSearchExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
searchExpression(SearchExpression)
-
overrideConfiguration
SearchSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SearchSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-