Interface ListImportedModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<ListImportedModelsResponse.Builder,
,ListImportedModelsResponse> SdkBuilder<ListImportedModelsResponse.Builder,
,ListImportedModelsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListImportedModelsResponse
@Mutable
@NotThreadSafe
public static interface ListImportedModelsResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListImportedModelsResponse.Builder,ListImportedModelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmodelSummaries
(Collection<ImportedModelSummary> modelSummaries) Model summaries.modelSummaries
(Consumer<ImportedModelSummary.Builder>... modelSummaries) Model summaries.modelSummaries
(ImportedModelSummary... modelSummaries) Model summaries.If the total number of results is greater than themaxResults
value provided in the request, use this token when making another request in thenextToken
field to return the next batch of results.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the total number of results is greater than the
maxResults
value provided in the request, use this token when making another request in thenextToken
field to return the next batch of results.- Parameters:
nextToken
- If the total number of results is greater than themaxResults
value provided in the request, use this token when making another request in thenextToken
field to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
Model summaries.
- Parameters:
modelSummaries
- Model summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
Model summaries.
- Parameters:
modelSummaries
- Model summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
ListImportedModelsResponse.Builder modelSummaries(Consumer<ImportedModelSummary.Builder>... modelSummaries) Model summaries.
This is a convenience method that creates an instance of theImportedModelSummary.Builder
avoiding the need to create one manually viaImportedModelSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelSummaries(List<ImportedModelSummary>)
.- Parameters:
modelSummaries
- a consumer that will call methods onImportedModelSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-