Interface ListTaskTemplatesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<ListTaskTemplatesRequest.Builder,ListTaskTemplatesRequest>,SdkBuilder<ListTaskTemplatesRequest.Builder,ListTaskTemplatesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListTaskTemplatesRequest
public static interface ListTaskTemplatesRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<ListTaskTemplatesRequest.Builder,ListTaskTemplatesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTaskTemplatesRequest.BuilderinstanceId(String instanceId)The identifier of the Amazon Connect instance.ListTaskTemplatesRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return per page.ListTaskTemplatesRequest.Buildername(String name)The name of the task template.ListTaskTemplatesRequest.BuildernextToken(String nextToken)The token for the next set of results.ListTaskTemplatesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListTaskTemplatesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListTaskTemplatesRequest.Builderstatus(String status)Marks a template asACTIVEorINACTIVEfor a task to refer to it.ListTaskTemplatesRequest.Builderstatus(TaskTemplateStatus status)Marks a template asACTIVEorINACTIVEfor a task to refer to it.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
-
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 Detail
-
instanceId
ListTaskTemplatesRequest.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListTaskTemplatesRequest.Builder nextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
It is not expected that you set this because the value returned in the previous response is always null.
- Parameters:
nextToken- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.It is not expected that you set this because the value returned in the previous response is always null.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListTaskTemplatesRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return per page.
It is not expected that you set this.
- Parameters:
maxResults- The maximum number of results to return per page.It is not expected that you set this.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ListTaskTemplatesRequest.Builder status(String status)
Marks a template as
ACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, then a task that refers to this template cannot be created.- Parameters:
status- Marks a template asACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, then a task that refers to this template cannot be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskTemplateStatus,TaskTemplateStatus
-
status
ListTaskTemplatesRequest.Builder status(TaskTemplateStatus status)
Marks a template as
ACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, then a task that refers to this template cannot be created.- Parameters:
status- Marks a template asACTIVEorINACTIVEfor a task to refer to it. Tasks can only be created fromACTIVEtemplates. If a template is marked asINACTIVE, then a task that refers to this template cannot be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskTemplateStatus,TaskTemplateStatus
-
name
ListTaskTemplatesRequest.Builder name(String name)
The name of the task template.
- Parameters:
name- The name of the task template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListTaskTemplatesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListTaskTemplatesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-