public static interface ListLocationsResponse.Builder extends GameLiftResponse.Builder, SdkPojo, CopyableBuilder<ListLocationsResponse.Builder,ListLocationsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListLocationsResponse.Builder |
locations(Collection<LocationModel> locations)
A collection of locations.
|
ListLocationsResponse.Builder |
locations(Consumer<LocationModel.Builder>... locations)
A collection of locations.
|
ListLocationsResponse.Builder |
locations(LocationModel... locations)
A collection of locations.
|
ListLocationsResponse.Builder |
nextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListLocationsResponse.Builder locations(Collection<LocationModel> locations)
A collection of locations.
locations - A collection of locations.ListLocationsResponse.Builder locations(LocationModel... locations)
A collection of locations.
locations - A collection of locations.ListLocationsResponse.Builder locations(Consumer<LocationModel.Builder>... locations)
A collection of locations.
This is a convenience method that creates an instance of theLocationModel.Builder avoiding the need to create one
manually via LocationModel.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #locations(List.
locations - a consumer that will call methods on
LocationModel.Builder#locations(java.util.Collection) ListLocationsResponse.Builder nextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken - A token that indicates where to resume retrieving results on the next call to this operation. If no
token is returned, these results represent the end of the list.Copyright © 2022. All rights reserved.