public static interface ListFoundationModelsResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListFoundationModelsResponse.Builder,ListFoundationModelsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListFoundationModelsResponse.Builder |
modelSummaries(Collection<FoundationModelSummary> modelSummaries)
A list of bedrock foundation models.
|
ListFoundationModelsResponse.Builder |
modelSummaries(Consumer<FoundationModelSummary.Builder>... modelSummaries)
A list of bedrock foundation models.
|
ListFoundationModelsResponse.Builder |
modelSummaries(FoundationModelSummary... modelSummaries)
A list of bedrock foundation models.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListFoundationModelsResponse.Builder modelSummaries(Collection<FoundationModelSummary> modelSummaries)
A list of bedrock foundation models.
modelSummaries - A list of bedrock foundation models.ListFoundationModelsResponse.Builder modelSummaries(FoundationModelSummary... modelSummaries)
A list of bedrock foundation models.
modelSummaries - A list of bedrock foundation models.ListFoundationModelsResponse.Builder modelSummaries(Consumer<FoundationModelSummary.Builder>... modelSummaries)
A list of bedrock foundation models.
This is a convenience method that creates an instance of theFoundationModelSummary.Builder avoiding the need to
create one manually via
FoundationModelSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #modelSummaries(List.
modelSummaries - a consumer that will call methods on
FoundationModelSummary.Builder#modelSummaries(java.util.Collection) Copyright © 2023. All rights reserved.