Interface ListCustomModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<ListCustomModelsResponse.Builder,,ListCustomModelsResponse> SdkBuilder<ListCustomModelsResponse.Builder,,ListCustomModelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCustomModelsResponse
public static interface ListCustomModelsResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListCustomModelsResponse.Builder,ListCustomModelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmodelSummaries(Collection<CustomModelSummary> modelSummaries) Model summaries.modelSummaries(Consumer<CustomModelSummary.Builder>... modelSummaries) Model summaries.modelSummaries(CustomModelSummary... modelSummaries) Model summaries.Continuation token for the next request to list the next set of results.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
Continuation token for the next request to list the next set of results.
- Parameters:
nextToken- Continuation token for the next request to list the next set 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
ListCustomModelsResponse.Builder modelSummaries(Consumer<CustomModelSummary.Builder>... modelSummaries) Model summaries.
This is a convenience method that creates an instance of theCustomModelSummary.Builderavoiding the need to create one manually viaCustomModelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelSummaries(List<CustomModelSummary>).- Parameters:
modelSummaries- a consumer that will call methods onCustomModelSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-