@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()
A token returned from a previous call to
ListTemplates to indicate the position in the list of email
templates. |
int |
hashCode() |
void |
setMaxItems(Integer maxItems)
The maximum number of templates to return.
|
void |
setNextToken(String nextToken)
A token returned from a previous call to
ListTemplates to indicate the position in the list of email
templates. |
String |
toString()
Returns a string representation of this object.
|
ListTemplatesRequest |
withMaxItems(Integer maxItems)
The maximum number of templates to return.
|
ListTemplatesRequest |
withNextToken(String nextToken)
A token returned from a previous call to
ListTemplates to indicate the position in the list of email
templates. |
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)
A token returned from a previous call to ListTemplates to indicate the position in the list of email
templates.
nextToken - A token returned from a previous call to ListTemplates to indicate the position in the list
of email templates.public String getNextToken()
A token returned from a previous call to ListTemplates to indicate the position in the list of email
templates.
ListTemplates to indicate the position in the list
of email templates.public ListTemplatesRequest withNextToken(String nextToken)
A token returned from a previous call to ListTemplates to indicate the position in the list of email
templates.
nextToken - A token returned from a previous call to ListTemplates to indicate the position in the list
of email templates.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.