public static interface ListLocationsResponse.Builder extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<ListLocationsResponse.Builder,ListLocationsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListLocationsResponse.Builder |
locations(Collection<LocationListEntry> locations)
An array that contains a list of locations.
|
ListLocationsResponse.Builder |
locations(Consumer<LocationListEntry.Builder>... locations)
An array that contains a list of locations.
|
ListLocationsResponse.Builder |
locations(LocationListEntry... locations)
An array that contains a list of locations.
|
ListLocationsResponse.Builder |
nextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of locations.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListLocationsResponse.Builder locations(Collection<LocationListEntry> locations)
An array that contains a list of locations.
locations - An array that contains a list of locations.ListLocationsResponse.Builder locations(LocationListEntry... locations)
An array that contains a list of locations.
locations - An array that contains a list of locations.ListLocationsResponse.Builder locations(Consumer<LocationListEntry.Builder>... locations)
An array that contains a list of locations.
This is a convenience method that creates an instance of theLocationListEntry.Builder avoiding the need to create
one manually via LocationListEntry.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
LocationListEntry.Builder#locations(java.util.Collection) ListLocationsResponse.Builder nextToken(String nextToken)
An opaque string that indicates the position at which to begin returning the next list of locations.
nextToken - An opaque string that indicates the position at which to begin returning the next list of locations.Copyright © 2022. All rights reserved.