Interface SearchPublicRecordsRequest.Builder
- All Superinterfaces:
AgentDiscoveryRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<SearchPublicRecordsRequest.Builder,,SearchPublicRecordsRequest> SdkBuilder<SearchPublicRecordsRequest.Builder,,SearchPublicRecordsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchPublicRecordsRequest
-
Method Summary
Modifier and TypeMethodDescriptionStructured filter narrowing the results, in the grammar of Agent Registry's SearchDiscoverableRegistryRecordsfilters:$eq,$neand$inon a field, with$andor$orover single-condition objects, never nested.maxResults(Integer maxResults) Max records per page.Opaque composite-cursor pagination token (O-DM12).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.searchQuery(String searchQuery) Free-text natural-language query (ARDtext).Methods inherited from interface software.amazon.awssdk.services.agentdiscovery.model.AgentDiscoveryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
searchQuery
Free-text natural-language query (ARD
text). Drives semantic + lexical ranking.- Parameters:
searchQuery- Free-text natural-language query (ARDtext). Drives semantic + lexical ranking.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Structured filter narrowing the results, in the grammar of Agent Registry's SearchDiscoverableRegistryRecords
filters:$eq,$neand$inon a field, with$andor$orover single-condition objects, never nested. Fields areidentifier,domain,recordType,descriptorType,provenanceandrecordVersion, andidentifieralso takes$prefix. For example{"recordType": {"$eq": "AGENT"}}or{"$or": [{"recordType": {"$eq": "MCP"}}, {"domain": {"$eq": "acme.com"}}]}.Limits, the same ones Agent Registry applies: at most 10 conditions, `$in` takes 1-25 values, values are strings of 1-512 characters, and `{}` is invalid. A `document` can't carry `@length`, so the service enforces these and answers a filter past them with a ValidationException, as Agent Registry does.
- Parameters:
filters- Structured filter narrowing the results, in the grammar of Agent Registry's SearchDiscoverableRegistryRecordsfilters:$eq,$neand$inon a field, with$andor$orover single-condition objects, never nested. Fields areidentifier,domain,recordType,descriptorType,provenanceandrecordVersion, andidentifieralso takes$prefix. For example{"recordType": {"$eq": "AGENT"}}or{"$or": [{"recordType": {"$eq": "MCP"}}, {"domain": {"$eq": "acme.com"}}]}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Max records per page. Default 20, max 100.
- Parameters:
maxResults- Max records per page. Default 20, max 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Opaque composite-cursor pagination token (O-DM12).
- Parameters:
nextToken- Opaque composite-cursor pagination token (O-DM12).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchPublicRecordsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SearchPublicRecordsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-