Interface ListEmailTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListEmailTemplatesResponse.Builder,
,ListEmailTemplatesResponse> SdkBuilder<ListEmailTemplatesResponse.Builder,
,ListEmailTemplatesResponse> SdkPojo
,SdkResponse.Builder
,SesV2Response.Builder
- Enclosing class:
ListEmailTemplatesResponse
public static interface ListEmailTemplatesResponse.Builder
extends SesV2Response.Builder, SdkPojo, CopyableBuilder<ListEmailTemplatesResponse.Builder,ListEmailTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token indicating that there are additional email templates available to be listed.templatesMetadata
(Collection<EmailTemplateMetadata> templatesMetadata) An array the contains the name and creation time stamp for each template in your Amazon SES account.templatesMetadata
(Consumer<EmailTemplateMetadata.Builder>... templatesMetadata) An array the contains the name and creation time stamp for each template in your Amazon SES account.templatesMetadata
(EmailTemplateMetadata... templatesMetadata) An array the contains the name and creation time stamp for each template in your Amazon SES account.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
templatesMetadata
ListEmailTemplatesResponse.Builder templatesMetadata(Collection<EmailTemplateMetadata> templatesMetadata) An array the contains the name and creation time stamp for each template in your Amazon SES account.
- Parameters:
templatesMetadata
- An array the contains the name and creation time stamp for each template in your Amazon SES account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templatesMetadata
An array the contains the name and creation time stamp for each template in your Amazon SES account.
- Parameters:
templatesMetadata
- An array the contains the name and creation time stamp for each template in your Amazon SES account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templatesMetadata
ListEmailTemplatesResponse.Builder templatesMetadata(Consumer<EmailTemplateMetadata.Builder>... templatesMetadata) An array the contains the name and creation time stamp for each template in your Amazon SES account.
This is a convenience method that creates an instance of theEmailTemplateMetadata.Builder
avoiding the need to create one manually viaEmailTemplateMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplatesMetadata(List<EmailTemplateMetadata>)
.- Parameters:
templatesMetadata
- a consumer that will call methods onEmailTemplateMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
nextToken
- A token indicating that there are additional email templates available to be listed. Pass this token to a subsequentListEmailTemplates
call to retrieve the next 10 email templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-