public static interface GetModelsResponse.Builder extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<GetModelsResponse.Builder,GetModelsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetModelsResponse.Builder |
items(Collection<Model> items)
The elements from this collection.
|
GetModelsResponse.Builder |
items(Consumer<Model.Builder>... items)
The elements from this collection.
|
GetModelsResponse.Builder |
items(Model... items)
The elements from this collection.
|
GetModelsResponse.Builder |
nextToken(String nextToken)
The next page of elements from this collection.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetModelsResponse.Builder items(Collection<Model> items)
The elements from this collection.
items - The elements from this collection.GetModelsResponse.Builder items(Model... items)
The elements from this collection.
items - The elements from this collection.GetModelsResponse.Builder items(Consumer<Model.Builder>... items)
The elements from this collection.
This is a convenience method that creates an instance of theModel.Builder avoiding the need to create one
manually via Model.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #items(List.
items - a consumer that will call methods on
Model.Builder#items(java.util.Collection) GetModelsResponse.Builder nextToken(String nextToken)
The next page of elements from this collection. Not valid for the last element of the collection.
nextToken - The next page of elements from this collection. Not valid for the last element of the collection.Copyright © 2023. All rights reserved.