Interface ListModelsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListModelsResponse.Builder,ListModelsResponse>,LookoutVisionResponse.Builder,SdkBuilder<ListModelsResponse.Builder,ListModelsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListModelsResponse
public static interface ListModelsResponse.Builder extends LookoutVisionResponse.Builder, SdkPojo, CopyableBuilder<ListModelsResponse.Builder,ListModelsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListModelsResponse.Buildermodels(Collection<ModelMetadata> models)A list of model versions in the specified project.ListModelsResponse.Buildermodels(Consumer<ModelMetadata.Builder>... models)A list of model versions in the specified project.ListModelsResponse.Buildermodels(ModelMetadata... models)A list of model versions in the specified project.ListModelsResponse.BuildernextToken(String 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lookoutvision.model.LookoutVisionResponse.Builder
build, responseMetadata, responseMetadata
-
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 Detail
-
models
ListModelsResponse.Builder models(Collection<ModelMetadata> 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
ListModelsResponse.Builder models(ModelMetadata... 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
ListModelsResponse.Builder models(Consumer<ModelMetadata.Builder>... 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 to#models(List.) - 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:
#models(java.util.Collection)
-
nextToken
ListModelsResponse.Builder nextToken(String 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.
-
-