Interface TemplatesResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TemplatesResponse.Builder,
,TemplatesResponse> SdkBuilder<TemplatesResponse.Builder,
,TemplatesResponse> SdkPojo
- Enclosing class:
TemplatesResponse
-
Method Summary
Modifier and TypeMethodDescriptionitem
(Collection<TemplateResponse> item) An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.item
(Consumer<TemplateResponse.Builder>... item) An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.item
(TemplateResponse... item) An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.The string to use in a subsequent request to get the next page of results in a paginated response.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
-
Method Details
-
item
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.
- Parameters:
item
- An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.
- Parameters:
item
- An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.
This is a convenience method that creates an instance of theTemplateResponse.Builder
avoiding the need to create one manually viaTemplateResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitem(List<TemplateResponse>)
.- Parameters:
item
- a consumer that will call methods onTemplateResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
- Parameters:
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-