public class ListTemplatesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the email templates present in your Amazon SES account in the current AWS Region.
You can execute this operation no more than once per second.
Constructor and Description |
---|
ListTemplatesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxItems()
The maximum number of templates to return.
|
java.lang.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(java.lang.Integer maxItems)
The maximum number of templates to return.
|
void |
setNextToken(java.lang.String nextToken)
A token returned from a previous call to
ListTemplates to
indicate the position in the list of email templates. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTemplatesRequest |
withMaxItems(java.lang.Integer maxItems)
The maximum number of templates to return.
|
ListTemplatesRequest |
withNextToken(java.lang.String nextToken)
A token returned from a previous call to
ListTemplates to
indicate the position in the list of email templates. |
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getNextToken()
A token returned from a previous call to ListTemplates
to
indicate the position in the list of email templates.
A token returned from a previous call to
ListTemplates
to indicate the position in the list
of email templates.
public void setNextToken(java.lang.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 ListTemplatesRequest withNextToken(java.lang.String nextToken)
A token returned from a previous call to ListTemplates
to
indicate the position in the list of email templates.
Returns a reference to this object so that method calls can be chained together.
nextToken
-
A token returned from a previous call to
ListTemplates
to indicate the position in the
list of email templates.
public java.lang.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.
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 void setMaxItems(java.lang.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 ListTemplatesRequest withMaxItems(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.