@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 100. If more than 100 items are requested, the page size will automatically set to 100. If you do not specify a value, 10 is the default page size.
maxItems - The maximum number of templates to return. This value must be at least 1 and less than or equal to 100. If
more than 100 items are requested, the page size will automatically set to 100. If you do not specify a
value, 10 is the default page size.public Integer getMaxItems()
The maximum number of templates to return. This value must be at least 1 and less than or equal to 100. If more than 100 items are requested, the page size will automatically set to 100. If you do not specify a value, 10 is the default page size.
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 100. If more than 100 items are requested, the page size will automatically set to 100. If you do not specify a value, 10 is the default page size.
maxItems - The maximum number of templates to return. This value must be at least 1 and less than or equal to 100. If
more than 100 items are requested, the page size will automatically set to 100. If you do not specify a
value, 10 is the default page size.public String toString()
toString in class ObjectObject.toString()public ListTemplatesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()