@Generated(value="software.amazon.awssdk:codegen") public final class ListItemsRequest extends MediaStoreDataRequest implements ToCopyableBuilder<ListItemsRequest.Builder,ListItemsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListItemsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListItemsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return per API request.
|
String |
nextToken()
The token that identifies which batch of results that you want to see.
|
String |
path()
The path in the container from which to retrieve items.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListItemsRequest.Builder> |
serializableBuilderClass() |
ListItemsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String path()
The path in the container from which to retrieve items. Format: <folder name>/<folder name>/<file name>
public 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.
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.
public 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.
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.
public ListItemsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListItemsRequest.Builder,ListItemsRequest>
toBuilder
in class MediaStoreDataRequest
public static ListItemsRequest.Builder builder()
public static Class<? extends ListItemsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.