Interface SearchRegistryRecordsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreResponse.Builder,Buildable,CopyableBuilder<SearchRegistryRecordsResponse.Builder,,SearchRegistryRecordsResponse> SdkBuilder<SearchRegistryRecordsResponse.Builder,,SearchRegistryRecordsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchRegistryRecordsResponse
@Mutable
@NotThreadSafe
public static interface SearchRegistryRecordsResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<SearchRegistryRecordsResponse.Builder,SearchRegistryRecordsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionregistryRecords(Collection<RegistryRecordSummary> registryRecords) The list of registry records that match the search query, ordered by relevance.registryRecords(Consumer<RegistryRecordSummary.Builder>... registryRecords) The list of registry records that match the search query, ordered by relevance.registryRecords(RegistryRecordSummary... registryRecords) The list of registry records that match the search query, ordered by relevance.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
registryRecords
SearchRegistryRecordsResponse.Builder registryRecords(Collection<RegistryRecordSummary> registryRecords) The list of registry records that match the search query, ordered by relevance.
- Parameters:
registryRecords- The list of registry records that match the search query, ordered by relevance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registryRecords
The list of registry records that match the search query, ordered by relevance.
- Parameters:
registryRecords- The list of registry records that match the search query, ordered by relevance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registryRecords
SearchRegistryRecordsResponse.Builder registryRecords(Consumer<RegistryRecordSummary.Builder>... registryRecords) The list of registry records that match the search query, ordered by relevance.
This is a convenience method that creates an instance of theRegistryRecordSummary.Builderavoiding the need to create one manually viaRegistryRecordSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregistryRecords(List<RegistryRecordSummary>).- Parameters:
registryRecords- a consumer that will call methods onRegistryRecordSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-