Interface SearchSampleQueriesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudTrailRequest.Builder
,CopyableBuilder<SearchSampleQueriesRequest.Builder,
,SearchSampleQueriesRequest> SdkBuilder<SearchSampleQueriesRequest.Builder,
,SearchSampleQueriesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SearchSampleQueriesRequest
@Mutable
@NotThreadSafe
public static interface SearchSampleQueriesRequest.Builder
extends CloudTrailRequest.Builder, SdkPojo, CopyableBuilder<SearchSampleQueriesRequest.Builder,SearchSampleQueriesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of results to return on a single page.A token you can use to get the next page of results.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.searchPhrase
(String searchPhrase) The natural language phrase to use for the semantic search.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
build
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
-
searchPhrase
The natural language phrase to use for the semantic search. The phrase must be in English. The length constraint is in characters, not words.
- Parameters:
searchPhrase
- The natural language phrase to use for the semantic search. The phrase must be in English. The length constraint is in characters, not words.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return on a single page. The default value is 10.
- Parameters:
maxResults
- The maximum number of results to return on a single page. The default value is 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token you can use to get the next page of results. The length constraint is in characters, not words.
- Parameters:
nextToken
- A token you can use to get the next page of results. The length constraint is in characters, not words.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchSampleQueriesRequest.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
SearchSampleQueriesRequest.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.
-