Interface SearchRegistryRecordsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<SearchRegistryRecordsRequest.Builder,,SearchRegistryRecordsRequest> SdkBuilder<SearchRegistryRecordsRequest.Builder,,SearchRegistryRecordsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchRegistryRecordsRequest
-
Method Summary
Modifier and TypeMethodDescriptionA metadata filter expression to narrow search results.maxResults(Integer maxResults) The maximum number of records to return in a single call.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.registryIds(String... registryIds) The list of registry identifiers to search within.registryIds(Collection<String> registryIds) The list of registry identifiers to search within.searchQuery(String searchQuery) The search query to find matching registry records.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
buildMethods 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
The search query to find matching registry records.
- Parameters:
searchQuery- The search query to find matching registry records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registryIds
The list of registry identifiers to search within. Currently, you can specify exactly one registry identifier. You can provide either the full Amazon Web Services Resource Name (ARN) or the 12-character alphanumeric registry ID.
- Parameters:
registryIds- The list of registry identifiers to search within. Currently, you can specify exactly one registry identifier. You can provide either the full Amazon Web Services Resource Name (ARN) or the 12-character alphanumeric registry ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registryIds
The list of registry identifiers to search within. Currently, you can specify exactly one registry identifier. You can provide either the full Amazon Web Services Resource Name (ARN) or the 12-character alphanumeric registry ID.
- Parameters:
registryIds- The list of registry identifiers to search within. Currently, you can specify exactly one registry identifier. You can provide either the full Amazon Web Services Resource Name (ARN) or the 12-character alphanumeric registry ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of records to return in a single call. Valid values are 1 through 20. The default value is 10.
- Parameters:
maxResults- The maximum number of records to return in a single call. Valid values are 1 through 20. The default value is 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A metadata filter expression to narrow search results. Uses structured JSON operators including field-level operators (
$eq,$ne,$in) and logical operators ($and,$or) on filterable fields (name,descriptorType,version). For example, to filter by descriptor type:{"descriptorType": {"$eq": "MCP"}}. To combine filters:{"$and": [{"descriptorType": {"$eq": "MCP"}}, {"name": {"$eq": "my-tool"}}]}.- Parameters:
filters- A metadata filter expression to narrow search results. Uses structured JSON operators including field-level operators ($eq,$ne,$in) and logical operators ($and,$or) on filterable fields (name,descriptorType,version). For example, to filter by descriptor type:{"descriptorType": {"$eq": "MCP"}}. To combine filters:{"$and": [{"descriptorType": {"$eq": "MCP"}}, {"name": {"$eq": "my-tool"}}]}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchRegistryRecordsRequest.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
SearchRegistryRecordsRequest.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.
-