public static interface ListItemsRequest.Builder extends MediaStoreDataRequest.Builder, SdkPojo, CopyableBuilder<ListItemsRequest.Builder,ListItemsRequest>
Modifier and Type | Method and Description |
---|---|
ListItemsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to return per API request.
|
ListItemsRequest.Builder |
nextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
ListItemsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListItemsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ListItemsRequest.Builder |
path(String path)
The path in the container from which to retrieve items.
|
build
overrideConfiguration
copy
applyMutation, build
ListItemsRequest.Builder path(String path)
The path in the container from which to retrieve items. Format: <folder name>/<folder name>/<file name>
path
- The path in the container from which to retrieve items. Format: <folder name>/<folder
name>/<file name>ListItemsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return per API request. For example, you submit a ListItems
request with MaxResults
set at 500. Although 2,000 items match your request, the service returns
no more than the first 500 items. (The service also returns a NextToken
value that you can use
to fetch the next batch of results.) The service might return fewer results than the MaxResults
value.
If MaxResults
is not included in the request, the service defaults to pagination with a maximum
of 1,000 results per page.
maxResults
- The maximum number of results to return per API request. For example, you submit a
ListItems
request with MaxResults
set at 500. Although 2,000 items match
your request, the service returns no more than the first 500 items. (The service also returns a
NextToken
value that you can use to fetch the next batch of results.) The service might
return fewer results than the MaxResults
value.
If MaxResults
is not included in the request, the service defaults to pagination with a
maximum of 1,000 results per page.
ListItemsRequest.Builder nextToken(String nextToken)
The token that identifies which batch of results that you want to see. For example, you submit a
ListItems
request with MaxResults
set at 500. The service returns the first batch
of results (up to 500) and a NextToken
value. To see the next batch of results, you can submit
the ListItems
request a second time and specify the NextToken
value.
Tokens expire after 15 minutes.
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a
ListItems
request with MaxResults
set at 500. The service returns the first
batch of results (up to 500) and a NextToken
value. To see the next batch of results, you
can submit the ListItems
request a second time and specify the NextToken
value.
Tokens expire after 15 minutes.
ListItemsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListItemsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.