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 Details

    • 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

      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

      Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only be created from ACTIVE templates. If a template is marked as INACTIVE, then a task that refers to this template cannot be created.

      Parameters:
      status - Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only be created from ACTIVE templates. If a template is marked as INACTIVE, 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:
    • status

      Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only be created from ACTIVE templates. If a template is marked as INACTIVE, then a task that refers to this template cannot be created.

      Parameters:
      status - Marks a template as ACTIVE or INACTIVE for a task to refer to it. Tasks can only be created from ACTIVE templates. If a template is marked as INACTIVE, 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:
    • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.