Interface ListTemplatesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTemplatesResponse.Builder,ListTemplatesResponse>
,SdkBuilder<ListTemplatesResponse.Builder,ListTemplatesResponse>
,SdkPojo
,SdkResponse.Builder
,SesResponse.Builder
- Enclosing class:
- ListTemplatesResponse
public static interface ListTemplatesResponse.Builder extends SesResponse.Builder, SdkPojo, CopyableBuilder<ListTemplatesResponse.Builder,ListTemplatesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTemplatesResponse.Builder
nextToken(String nextToken)
A token indicating that there are additional email templates available to be listed.ListTemplatesResponse.Builder
templatesMetadata(Collection<TemplateMetadata> templatesMetadata)
An array the contains the name and creation time stamp for each template in your Amazon SES account.ListTemplatesResponse.Builder
templatesMetadata(Consumer<TemplateMetadata.Builder>... templatesMetadata)
An array the contains the name and creation time stamp for each template in your Amazon SES account.ListTemplatesResponse.Builder
templatesMetadata(TemplateMetadata... 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.ses.model.SesResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
templatesMetadata
ListTemplatesResponse.Builder templatesMetadata(Collection<TemplateMetadata> 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
ListTemplatesResponse.Builder templatesMetadata(TemplateMetadata... 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
ListTemplatesResponse.Builder templatesMetadata(Consumer<TemplateMetadata.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 theTemplateMetadata.Builder
avoiding the need to create one manually viaTemplateMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#templatesMetadata(List
.) - Parameters:
templatesMetadata
- a consumer that will call methods onTemplateMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#templatesMetadata(java.util.Collection
)
-
nextToken
ListTemplatesResponse.Builder nextToken(String nextToken)
A token indicating that there are additional email templates available to be listed. Pass this token to a subsequent call to
ListTemplates
to retrieve the next set of email templates within your page size.- Parameters:
nextToken
- A token indicating that there are additional email templates available to be listed. Pass this token to a subsequent call toListTemplates
to retrieve the next set of email templates within your page size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-