@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGatewaysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListGatewaysRequest() |
Modifier and Type | Method and Description |
---|---|
ListGatewaysRequest |
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.
|
ListGatewaysRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per API request.
|
ListGatewaysRequest |
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 ListGateways 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 ListGatewaysRequest withMaxResults(Integer maxResults)
maxResults
- The maximum number of results to return per API request. For example, you submit a ListGateways 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
ListGateways 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 ListGateways request a second
time and specify the NextToken value.public String getNextToken()
public ListGatewaysRequest withNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a
ListGateways 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 ListGateways request a second
time and specify the NextToken value.public String toString()
toString
in class Object
Object.toString()
public ListGatewaysRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()