@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEmailTemplatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The following elements are returned by the service.
Constructor and Description |
---|
ListEmailTemplatesResult() |
Modifier and Type | Method and Description |
---|---|
ListEmailTemplatesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token indicating that there are additional email templates available to be listed.
|
List<EmailTemplateMetadata> |
getTemplatesMetadata()
An array the contains the name and creation time stamp for each template in your Amazon SES account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token indicating that there are additional email templates available to be listed.
|
void |
setTemplatesMetadata(Collection<EmailTemplateMetadata> templatesMetadata)
An array the contains the name and creation time stamp for each template in your Amazon SES account.
|
String |
toString()
Returns a string representation of this object.
|
ListEmailTemplatesResult |
withNextToken(String nextToken)
A token indicating that there are additional email templates available to be listed.
|
ListEmailTemplatesResult |
withTemplatesMetadata(Collection<EmailTemplateMetadata> templatesMetadata)
An array the contains the name and creation time stamp for each template in your Amazon SES account.
|
ListEmailTemplatesResult |
withTemplatesMetadata(EmailTemplateMetadata... templatesMetadata)
An array the contains the name and creation time stamp for each template in your Amazon SES account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EmailTemplateMetadata> getTemplatesMetadata()
An array the contains the name and creation time stamp for each template in your Amazon SES account.
public void setTemplatesMetadata(Collection<EmailTemplateMetadata> templatesMetadata)
An array the contains the name and creation time stamp for each template in your Amazon SES account.
templatesMetadata
- An array the contains the name and creation time stamp for each template in your Amazon SES account.public ListEmailTemplatesResult withTemplatesMetadata(EmailTemplateMetadata... templatesMetadata)
An array the contains the name and creation time stamp for each template in your Amazon SES account.
NOTE: This method appends the values to the existing list (if any). Use
setTemplatesMetadata(java.util.Collection)
or withTemplatesMetadata(java.util.Collection)
if
you want to override the existing values.
templatesMetadata
- An array the contains the name and creation time stamp for each template in your Amazon SES account.public ListEmailTemplatesResult withTemplatesMetadata(Collection<EmailTemplateMetadata> templatesMetadata)
An array the contains the name and creation time stamp for each template in your Amazon SES account.
templatesMetadata
- An array the contains the name and creation time stamp for each template in your Amazon SES account.public void setNextToken(String nextToken)
A token indicating that there are additional email templates available to be listed. Pass this token to a
subsequent ListEmailTemplates
call to retrieve the next 10 email templates.
nextToken
- A token indicating that there are additional email templates available to be listed. Pass this token to a
subsequent ListEmailTemplates
call to retrieve the next 10 email templates.public String getNextToken()
A token indicating that there are additional email templates available to be listed. Pass this token to a
subsequent ListEmailTemplates
call to retrieve the next 10 email templates.
ListEmailTemplates
call to retrieve the next 10 email templates.public ListEmailTemplatesResult withNextToken(String nextToken)
A token indicating that there are additional email templates available to be listed. Pass this token to a
subsequent ListEmailTemplates
call to retrieve the next 10 email templates.
nextToken
- A token indicating that there are additional email templates available to be listed. Pass this token to a
subsequent ListEmailTemplates
call to retrieve the next 10 email templates.public String toString()
toString
in class Object
Object.toString()
public ListEmailTemplatesResult clone()