Interface ListTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectCasesResponse.Builder
,CopyableBuilder<ListTemplatesResponse.Builder,
,ListTemplatesResponse> SdkBuilder<ListTemplatesResponse.Builder,
,ListTemplatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTemplatesResponse
@Mutable
@NotThreadSafe
public static interface ListTemplatesResponse.Builder
extends ConnectCasesResponse.Builder, SdkPojo, CopyableBuilder<ListTemplatesResponse.Builder,ListTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.templates
(Collection<TemplateSummary> templates) List of template summary objects.templates
(Consumer<TemplateSummary.Builder>... templates) List of template summary objects.templates
(TemplateSummary... templates) List of template summary objects.Methods inherited from interface software.amazon.awssdk.services.connectcases.model.ConnectCasesResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token for the next set of results. This is null if there are no more results to return.
- Parameters:
nextToken
- The token for the next set of results. This is null if there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
List of template summary objects.
- Parameters:
templates
- List of template summary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
List of template summary objects.
- Parameters:
templates
- List of template summary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTemplateSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemplates(List<TemplateSummary>)
.- Parameters:
templates
- a consumer that will call methods onTemplateSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-