public static interface ListModelsResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListModelsResponse.Builder,ListModelsResponse>
Modifier and Type | Method and Description |
---|---|
ListModelsResponse.Builder |
models(Collection<ModelSummary> models)
An array of
ModelSummary objects, each of which lists a model. |
ListModelsResponse.Builder |
models(Consumer<ModelSummary.Builder>... models)
An array of
ModelSummary objects, each of which lists a model. |
ListModelsResponse.Builder |
models(ModelSummary... models)
An array of
ModelSummary objects, each of which lists a model. |
ListModelsResponse.Builder |
nextToken(String nextToken)
If the response is truncated, Amazon SageMaker returns this token.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListModelsResponse.Builder models(Collection<ModelSummary> models)
An array of ModelSummary
objects, each of which lists a model.
models
- An array of ModelSummary
objects, each of which lists a model.ListModelsResponse.Builder models(ModelSummary... models)
An array of ModelSummary
objects, each of which lists a model.
models
- An array of ModelSummary
objects, each of which lists a model.ListModelsResponse.Builder models(Consumer<ModelSummary.Builder>... models)
An array of ModelSummary
objects, each of which lists a model.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #models(List)
.models
- a consumer that will call methods on List.Builder
#models(List)
ListModelsResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of models, use it in the subsequent request.
nextToken
- If the response is truncated, Amazon SageMaker returns this token. To retrieve the next set of models,
use it in the subsequent request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.