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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListLocationsResponse.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 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 #locations(List)
.locations
- a consumer that will call methods on List.Builder
#locations(List)
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.