Interface ListModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListModelsResponse.Builder,,ListModelsResponse> NovaActResponse.Builder,SdkBuilder<ListModelsResponse.Builder,,ListModelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListModelsResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListModelsResponse.BuildercompatibilityInformation(Consumer<CompatibilityInformation.Builder> compatibilityInformation) Information about client compatibility and supported models.compatibilityInformation(CompatibilityInformation compatibilityInformation) Information about client compatibility and supported models.modelAliases(Collection<ModelAlias> modelAliases) A list of model aliases that provide stable references to model versions.modelAliases(Consumer<ModelAlias.Builder>... modelAliases) A list of model aliases that provide stable references to model versions.modelAliases(ModelAlias... modelAliases) A list of model aliases that provide stable references to model versions.modelSummaries(Collection<ModelSummary> modelSummaries) A list of available AI models with their status and compatibility information.modelSummaries(Consumer<ModelSummary.Builder>... modelSummaries) A list of available AI models with their status and compatibility information.modelSummaries(ModelSummary... modelSummaries) A list of available AI models with their status and compatibility information.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.novaact.model.NovaActResponse.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
A list of available AI models with their status and compatibility information.
- Parameters:
modelSummaries- A list of available AI models with their status and compatibility information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
A list of available AI models with their status and compatibility information.
- Parameters:
modelSummaries- A list of available AI models with their status and compatibility information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSummaries
A list of available AI models with their status and compatibility information.
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:
-
modelAliases
A list of model aliases that provide stable references to model versions.
- Parameters:
modelAliases- A list of model aliases that provide stable references to model versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelAliases
A list of model aliases that provide stable references to model versions.
- Parameters:
modelAliases- A list of model aliases that provide stable references to model versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelAliases
A list of model aliases that provide stable references to model versions.
This is a convenience method that creates an instance of theModelAlias.Builderavoiding the need to create one manually viaModelAlias.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelAliases(List<ModelAlias>).- Parameters:
modelAliases- a consumer that will call methods onModelAlias.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compatibilityInformation
ListModelsResponse.Builder compatibilityInformation(CompatibilityInformation compatibilityInformation) Information about client compatibility and supported models.
- Parameters:
compatibilityInformation- Information about client compatibility and supported models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibilityInformation
default ListModelsResponse.Builder compatibilityInformation(Consumer<CompatibilityInformation.Builder> compatibilityInformation) Information about client compatibility and supported models.
This is a convenience method that creates an instance of theCompatibilityInformation.Builderavoiding the need to create one manually viaCompatibilityInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocompatibilityInformation(CompatibilityInformation).- Parameters:
compatibilityInformation- a consumer that will call methods onCompatibilityInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-