Interface SearchDiscoverableRegistryRecordsResponse.Builder
- All Superinterfaces:
AgentRegistryResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<SearchDiscoverableRegistryRecordsResponse.Builder,,SearchDiscoverableRegistryRecordsResponse> SdkBuilder<SearchDiscoverableRegistryRecordsResponse.Builder,,SearchDiscoverableRegistryRecordsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchDiscoverableRegistryRecordsResponse
@Mutable
@NotThreadSafe
public static interface SearchDiscoverableRegistryRecordsResponse.Builder
extends AgentRegistryResponse.Builder, SdkPojo, CopyableBuilder<SearchDiscoverableRegistryRecordsResponse.Builder,SearchDiscoverableRegistryRecordsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionregistryRecords(Collection<RegistryRecordSummary> registryRecords) The registry records that match the search query, ordered by relevance.registryRecords(Consumer<RegistryRecordSummary.Builder>... registryRecords) The registry records that match the search query, ordered by relevance.registryRecords(RegistryRecordSummary... registryRecords) The registry records that match the search query, ordered by relevance.Methods inherited from interface software.amazon.awssdk.services.agentregistry.model.AgentRegistryResponse.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
SearchDiscoverableRegistryRecordsResponse.Builder registryRecords(Collection<RegistryRecordSummary> registryRecords) The registry records that match the search query, ordered by relevance.
- Parameters:
registryRecords- The 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
SearchDiscoverableRegistryRecordsResponse.Builder registryRecords(RegistryRecordSummary... registryRecords) The registry records that match the search query, ordered by relevance.
- Parameters:
registryRecords- The 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
SearchDiscoverableRegistryRecordsResponse.Builder registryRecords(Consumer<RegistryRecordSummary.Builder>... registryRecords) The 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:
-