public static interface GetRoutesResponse.Builder extends ApiGatewayV2Response.Builder, SdkPojo, CopyableBuilder<GetRoutesResponse.Builder,GetRoutesResponse>
| Modifier and Type | Method and Description |
|---|---|
GetRoutesResponse.Builder |
items(Collection<Route> items)
The elements from this collection.
|
GetRoutesResponse.Builder |
items(Consumer<Route.Builder>... items)
The elements from this collection.
|
GetRoutesResponse.Builder |
items(Route... items)
The elements from this collection.
|
GetRoutesResponse.Builder |
nextToken(String nextToken)
The next page of elements from this collection.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetRoutesResponse.Builder items(Collection<Route> items)
The elements from this collection.
items - The elements from this collection.GetRoutesResponse.Builder items(Route... items)
The elements from this collection.
items - The elements from this collection.GetRoutesResponse.Builder items(Consumer<Route.Builder>... items)
The elements from this collection.
This is a convenience method that creates an instance of theRoute.Builder avoiding the need to create one
manually via Route.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
Route.Builder#items(java.util.Collection) GetRoutesResponse.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.