public static interface GetResourcesResponse.Builder extends APIGatewayResponse.Builder, CopyableBuilder<GetResourcesResponse.Builder,GetResourcesResponse>
| Modifier and Type | Method and Description |
|---|---|
GetResourcesResponse.Builder |
items(Collection<Resource> items)
The current page of elements from this collection.
|
GetResourcesResponse.Builder |
items(Consumer<Resource.Builder>... items)
The current page of elements from this collection.
|
GetResourcesResponse.Builder |
items(Resource... items)
The current page of elements from this collection.
|
GetResourcesResponse.Builder |
position(String position)
Sets the value of the Position property for this object.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetResourcesResponse.Builder position(String position)
position - The new value for the Position property for this object.GetResourcesResponse.Builder items(Collection<Resource> items)
The current page of elements from this collection.
items - The current page of elements from this collection.GetResourcesResponse.Builder items(Resource... items)
The current page of elements from this collection.
items - The current page of elements from this collection.GetResourcesResponse.Builder items(Consumer<Resource.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.