Interface CreateQuickResponseRequest.Builder

  • Method Details

    • channels

      The Amazon Connect channels this quick response applies to.

      Parameters:
      channels - The Amazon Connect channels this quick response applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channels

      The Amazon Connect channels this quick response applies to.

      Parameters:
      channels - The Amazon Connect channels this quick response applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      CreateQuickResponseRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      The content of the quick response.

      Parameters:
      content - The content of the quick response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      The content of the quick response.

      This is a convenience method that creates an instance of the QuickResponseDataProvider.Builder avoiding the need to create one manually via QuickResponseDataProvider.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to content(QuickResponseDataProvider).

      Parameters:
      content - a consumer that will call methods on QuickResponseDataProvider.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contentType

      CreateQuickResponseRequest.Builder contentType(String contentType)

      The media type of the quick response content.

      • Use application/x.quickresponse;format=plain for a quick response written in plain text.

      • Use application/x.quickresponse;format=markdown for a quick response written in richtext.

      Parameters:
      contentType - The media type of the quick response content.

      • Use application/x.quickresponse;format=plain for a quick response written in plain text.

      • Use application/x.quickresponse;format=markdown for a quick response written in richtext.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateQuickResponseRequest.Builder description(String description)

      The description of the quick response.

      Parameters:
      description - The description of the quick response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupingConfiguration

      CreateQuickResponseRequest.Builder groupingConfiguration(GroupingConfiguration groupingConfiguration)

      The configuration information of the user groups that the quick response is accessible to.

      Parameters:
      groupingConfiguration - The configuration information of the user groups that the quick response is accessible to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupingConfiguration

      default CreateQuickResponseRequest.Builder groupingConfiguration(Consumer<GroupingConfiguration.Builder> groupingConfiguration)

      The configuration information of the user groups that the quick response is accessible to.

      This is a convenience method that creates an instance of the GroupingConfiguration.Builder avoiding the need to create one manually via GroupingConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to groupingConfiguration(GroupingConfiguration).

      Parameters:
      groupingConfiguration - a consumer that will call methods on GroupingConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isActive

      Whether the quick response is active.

      Parameters:
      isActive - Whether the quick response is active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • knowledgeBaseId

      CreateQuickResponseRequest.Builder knowledgeBaseId(String knowledgeBaseId)

      The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

      Parameters:
      knowledgeBaseId - The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • language

      The language code value for the language in which the quick response is written. The supported language codes include de_DE, en_US, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, zh_TW

      Parameters:
      language - The language code value for the language in which the quick response is written. The supported language codes include de_DE, en_US, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, zh_TW
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the quick response.

      Parameters:
      name - The name of the quick response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shortcutKey

      CreateQuickResponseRequest.Builder shortcutKey(String shortcutKey)

      The shortcut key of the quick response. The value should be unique across the knowledge base.

      Parameters:
      shortcutKey - The shortcut key of the quick response. The value should be unique across the knowledge base.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags used to organize, track, or control access for this resource.

      Parameters:
      tags - The tags used to organize, track, or control access for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateQuickResponseRequest.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.