Interface ListModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListModelsResponse.Builder,,ListModelsResponse> QConnectResponse.Builder,SdkBuilder<ListModelsResponse.Builder,,ListModelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListModelsResponse
@Mutable
@NotThreadSafe
public static interface ListModelsResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<ListModelsResponse.Builder,ListModelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmodelSummaries(Collection<ModelSummary> modelSummaries) The summaries of the models available to the assistant.modelSummaries(Consumer<ModelSummary.Builder>... modelSummaries) The summaries of the models available to the assistant.modelSummaries(ModelSummary... modelSummaries) The summaries of the models available to the assistant.If there are additional results, this is the token for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
modelSummaries
The summaries of the models available to the assistant.
- Parameters:
modelSummaries- The summaries of the models available to the assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
The summaries of the models available to the assistant.
- Parameters:
modelSummaries- The summaries of the models available to the assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
The summaries of the models available to the assistant.
This is a convenience method that creates an instance of theModelSummary.Builderavoiding the need to create one manually viaModelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelSummaries(List<ModelSummary>).- Parameters:
modelSummaries- a consumer that will call methods onModelSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-