public static interface ListItemsResponse.Builder extends MediaStoreDataResponse.Builder, SdkPojo, CopyableBuilder<ListItemsResponse.Builder,ListItemsResponse>
Modifier and Type | Method and Description |
---|---|
ListItemsResponse.Builder |
items(Collection<Item> items)
The metadata entries for the folders and objects at the requested path.
|
ListItemsResponse.Builder |
items(Consumer<Item.Builder>... items)
The metadata entries for the folders and objects at the requested path.
|
ListItemsResponse.Builder |
items(Item... items)
The metadata entries for the folders and objects at the requested path.
|
ListItemsResponse.Builder |
nextToken(String nextToken)
The token that can be used in a request to view the next set of results.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListItemsResponse.Builder items(Collection<Item> items)
The metadata entries for the folders and objects at the requested path.
items
- The metadata entries for the folders and objects at the requested path.ListItemsResponse.Builder items(Item... items)
The metadata entries for the folders and objects at the requested path.
items
- The metadata entries for the folders and objects at the requested path.ListItemsResponse.Builder items(Consumer<Item.Builder>... items)
The metadata entries for the folders and objects at the requested path.
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 #items(List- )
.items
- a consumer that will call methods on List- .Builder
#items(List- )
ListItemsResponse.Builder nextToken(String nextToken)
The token that can be used in a request to view the next set of results. For example, you submit a
ListItems
request that matches 2,000 items with MaxResults
set at 500. The service
returns the first batch of results (up to 500) and a NextToken
value that can be used to fetch
the next batch of results.
nextToken
- The token that can be used in a request to view the next set of results. For example, you submit a
ListItems
request that matches 2,000 items with MaxResults
set at 500. The
service returns the first batch of results (up to 500) and a NextToken
value that can be
used to fetch the next batch of results.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.