Interface ListTaskTemplatesResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<ListTaskTemplatesResponse.Builder,,ListTaskTemplatesResponse> SdkBuilder<ListTaskTemplatesResponse.Builder,,ListTaskTemplatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListTaskTemplatesResponse
public static interface ListTaskTemplatesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListTaskTemplatesResponse.Builder,ListTaskTemplatesResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.taskTemplates(Collection<TaskTemplateMetadata> taskTemplates) Provides details about a list of task templates belonging to an instance.taskTemplates(Consumer<TaskTemplateMetadata.Builder>... taskTemplates) Provides details about a list of task templates belonging to an instance.taskTemplates(TaskTemplateMetadata... taskTemplates) Provides details about a list of task templates belonging to an instance.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
taskTemplates
Provides details about a list of task templates belonging to an instance.
- Parameters:
 taskTemplates- Provides details about a list of task templates belonging to an instance.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
taskTemplates
Provides details about a list of task templates belonging to an instance.
- Parameters:
 taskTemplates- Provides details about a list of task templates belonging to an instance.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
taskTemplates
ListTaskTemplatesResponse.Builder taskTemplates(Consumer<TaskTemplateMetadata.Builder>... taskTemplates) Provides details about a list of task templates belonging to an instance.
This is a convenience method that creates an instance of theTaskTemplateMetadata.Builderavoiding the need to create one manually viaTaskTemplateMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskTemplates(List<TaskTemplateMetadata>).- Parameters:
 taskTemplates- a consumer that will call methods onTaskTemplateMetadata.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
nextToken
If there are additional results, this is the token for the next set of results.
This is always returned as a null in the response.
- Parameters:
 nextToken- If there are additional results, this is the token for the next set of results.This is always returned as a null in the response.
- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -