public static interface GetModelsResponse.Builder extends ApiGatewayResponse.Builder, CopyableBuilder<GetModelsResponse.Builder,GetModelsResponse>
Modifier and Type | Method and Description |
---|---|
GetModelsResponse.Builder |
items(Collection<Model> items)
The current page of elements from this collection.
|
GetModelsResponse.Builder |
items(Consumer<Model.Builder>... items)
The current page of elements from this collection.
|
GetModelsResponse.Builder |
items(Model... items)
The current page of elements from this collection.
|
GetModelsResponse.Builder |
position(String position)
Sets the value of the Position property for this object.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetModelsResponse.Builder position(String position)
position
- The new value for the Position property for this object.GetModelsResponse.Builder items(Collection<Model> items)
The current page of elements from this collection.
items
- The current page of elements from this collection.GetModelsResponse.Builder items(Model... items)
The current page of elements from this collection.
items
- The current page of elements from this collection.GetModelsResponse.Builder items(Consumer<Model.Builder>... items)
The current page of elements from this collection.
This is a convenience that creates an instance of theList.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 #items(List)
.items
- a consumer that will call methods on List.Builder
#items(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.