Interface ListModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListModelsResponse.Builder,,ListModelsResponse> LookoutVisionResponse.Builder,SdkBuilder<ListModelsResponse.Builder,,ListModelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListModelsResponse
@Mutable
@NotThreadSafe
public static interface ListModelsResponse.Builder
extends LookoutVisionResponse.Builder, SdkPojo, CopyableBuilder<ListModelsResponse.Builder,ListModelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmodels(Collection<ModelMetadata> models) A list of model versions in the specified project.models(Consumer<ModelMetadata.Builder>... models) A list of model versions in the specified project.models(ModelMetadata... models) A list of model versions in the specified project.If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of models.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutvision.model.LookoutVisionResponse.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
-
models
A list of model versions in the specified project.
- Parameters:
models- A list of model versions in the specified project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
A list of model versions in the specified project.
- Parameters:
models- A list of model versions in the specified project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
A list of model versions in the specified project.
This is a convenience method that creates an instance of theModelMetadata.Builderavoiding the need to create one manually viaModelMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodels(List<ModelMetadata>).- Parameters:
models- a consumer that will call methods onModelMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of models.
- Parameters:
nextToken- If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-