@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListReservationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListReservationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListReservationsRequest |
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.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
ListReservationsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per API request.
|
ListReservationsRequest |
withNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
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 setMaxResults(Integer maxResults)
maxResults
- The maximum number of results to return per API request. For example, you submit a ListReservations
request with MaxResults set at 5. Although 20 items match your request, the service returns no more than
the first 5 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 10 results per page.public Integer getMaxResults()
public ListReservationsRequest withMaxResults(Integer maxResults)
maxResults
- The maximum number of results to return per API request. For example, you submit a ListReservations
request with MaxResults set at 5. Although 20 items match your request, the service returns no more than
the first 5 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 10 results per page.public void setNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a
ListReservations request with MaxResults set at 5. The service returns the first batch of results (up to
5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a
second time and specify the NextToken value.public String getNextToken()
public ListReservationsRequest withNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a
ListReservations request with MaxResults set at 5. The service returns the first batch of results (up to
5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a
second time and specify the NextToken value.public String toString()
toString
in class Object
Object.toString()
public ListReservationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()