public static interface GetResourcesResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method that creates an instance of theResource.Builder avoiding the need to create one
manually via Resource.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
Resource.Builder#items(java.util.Collection) Copyright © 2023. All rights reserved.