@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTemplatesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListTemplatesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTemplatesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxItems()
The maximum number of templates to return.
|
String |
getNextToken()
The token to use for pagination.
|
int |
hashCode() |
void |
setMaxItems(Integer maxItems)
The maximum number of templates to return.
|
void |
setNextToken(String nextToken)
The token to use for pagination.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListTemplatesRequest |
withMaxItems(Integer maxItems)
The maximum number of templates to return.
|
ListTemplatesRequest |
withNextToken(String nextToken)
The token to use for pagination.
|
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, withSdkRequestTimeoutpublic void setNextToken(String nextToken)
The token to use for pagination.
nextToken - The token to use for pagination.public String getNextToken()
The token to use for pagination.
public ListTemplatesRequest withNextToken(String nextToken)
The token to use for pagination.
nextToken - The token to use for pagination.public void setMaxItems(Integer maxItems)
The maximum number of templates to return. This value must be at least 1 and less than or equal to 10. If you do not specify a value, or if you specify a value less than 1 or greater than 10, the operation will return up to 10 results.
maxItems - The maximum number of templates to return. This value must be at least 1 and less than or equal to 10. If
you do not specify a value, or if you specify a value less than 1 or greater than 10, the operation will
return up to 10 results.public Integer getMaxItems()
The maximum number of templates to return. This value must be at least 1 and less than or equal to 10. If you do not specify a value, or if you specify a value less than 1 or greater than 10, the operation will return up to 10 results.
public ListTemplatesRequest withMaxItems(Integer maxItems)
The maximum number of templates to return. This value must be at least 1 and less than or equal to 10. If you do not specify a value, or if you specify a value less than 1 or greater than 10, the operation will return up to 10 results.
maxItems - The maximum number of templates to return. This value must be at least 1 and less than or equal to 10. If
you do not specify a value, or if you specify a value less than 1 or greater than 10, the operation will
return up to 10 results.public String toString()
toString in class ObjectObject.toString()public ListTemplatesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.