public static interface ListTemplatesResponse.Builder extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<ListTemplatesResponse.Builder,ListTemplatesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListTemplatesResponse.Builder |
nextToken(String nextToken)
The token for the next set of results.
|
ListTemplatesResponse.Builder |
templates(Collection<TemplateSummary> templates)
List of template summary objects.
|
ListTemplatesResponse.Builder |
templates(Consumer<TemplateSummary.Builder>... templates)
List of template summary objects.
|
ListTemplatesResponse.Builder |
templates(TemplateSummary... templates)
List of template summary objects.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListTemplatesResponse.Builder nextToken(String nextToken)
The token for the next set of results. This is null if there are no more results to return.
nextToken - The token for the next set of results. This is null if there are no more results to return.ListTemplatesResponse.Builder templates(Collection<TemplateSummary> templates)
List of template summary objects.
templates - List of template summary objects.ListTemplatesResponse.Builder templates(TemplateSummary... templates)
List of template summary objects.
templates - List of template summary objects.ListTemplatesResponse.Builder templates(Consumer<TemplateSummary.Builder>... templates)
List of template summary objects.
This is a convenience method that creates an instance of theTemplateSummary.Builder avoiding the need to
create one manually via TemplateSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #templates(List.
templates - a consumer that will call methods on
TemplateSummary.Builder#templates(java.util.Collection) Copyright © 2023. All rights reserved.