@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEntitlementsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListEntitlementsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListEntitlementsRequest |
clone() |
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.
|
ListEntitlementsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per API request.
|
ListEntitlementsRequest |
withNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setMaxResults(Integer maxResults)
maxResults - The maximum number of results to return per API request. For example, you submit a ListEntitlements
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 20 results per page.public Integer getMaxResults()
public ListEntitlementsRequest withMaxResults(Integer maxResults)
maxResults - The maximum number of results to return per API request. For example, you submit a ListEntitlements
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 20 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
ListEntitlements 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 ListEntitlements request a
second time and specify the NextToken value.public String getNextToken()
public ListEntitlementsRequest withNextToken(String nextToken)
nextToken - The token that identifies which batch of results that you want to see. For example, you submit a
ListEntitlements 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 ListEntitlements request a
second time and specify the NextToken value.public String toString()
toString in class ObjectObject.toString()public ListEntitlementsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.