@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListItemsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListItemsRequest() |
Modifier and Type | Method and Description |
---|---|
ListItemsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return per API request.
|
String |
getNextToken()
The token that identifies which batch of results that you want to see.
|
String |
getPath()
The path in the container from which to retrieve items.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per API request.
|
void |
setNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
void |
setPath(String path)
The path in the container from which to retrieve items.
|
String |
toString()
Returns a string representation of this object.
|
ListItemsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per API request.
|
ListItemsRequest |
withNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
ListItemsRequest |
withPath(String path)
The path in the container from which to retrieve items.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPath(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>public String getPath()
The path in the container from which to retrieve items. Format: <folder name>/<folder name>/<file name>
public ListItemsRequest withPath(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>public void setMaxResults(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.
public Integer getMaxResults()
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 ListItemsRequest withMaxResults(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.
public void setNextToken(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.
public String getNextToken()
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 withNextToken(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.
public String toString()
toString
in class Object
Object.toString()
public ListItemsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()