Class CfnQuickResponse

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)", date="2025-07-29T17:51:10.925Z") @Stability(Stable) public class CfnQuickResponse extends CfnResource implements IInspectable, ITaggableV2
Creates an Amazon Q in Connect quick response.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.wisdom.*;
 CfnQuickResponse cfnQuickResponse = CfnQuickResponse.Builder.create(this, "MyCfnQuickResponse")
         .content(QuickResponseContentProviderProperty.builder()
                 .content("content")
                 .build())
         .knowledgeBaseArn("knowledgeBaseArn")
         .name("name")
         // the properties below are optional
         .channels(List.of("channels"))
         .contentType("contentType")
         .description("description")
         .groupingConfiguration(GroupingConfigurationProperty.builder()
                 .criteria("criteria")
                 .values(List.of("values"))
                 .build())
         .isActive(false)
         .language("language")
         .shortcutKey("shortcutKey")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnQuickResponse

      protected CfnQuickResponse(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnQuickResponse

      protected CfnQuickResponse(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnQuickResponse

      @Stability(Stable) public CfnQuickResponse(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnQuickResponseProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrContents

      @Stability(Stable) @NotNull public IResolvable getAttrContents()
      The content of the quick response stored in different media types.
    • getAttrQuickResponseArn

      @Stability(Stable) @NotNull public String getAttrQuickResponseArn()
      The Amazon Resource Name (ARN) of the quick response.
    • getAttrQuickResponseId

      @Stability(Stable) @NotNull public String getAttrQuickResponseId()
      The identifier of the quick response.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of the quick response data.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getContent

      @Stability(Stable) @NotNull public Object getContent()
      The content of the quick response.
    • setContent

      @Stability(Stable) public void setContent(@NotNull IResolvable value)
      The content of the quick response.
    • setContent

      @Stability(Stable) public void setContent(@NotNull CfnQuickResponse.QuickResponseContentProviderProperty value)
      The content of the quick response.
    • getKnowledgeBaseArn

      @Stability(Stable) @NotNull public String getKnowledgeBaseArn()
      The Amazon Resource Name (ARN) of the knowledge base.
    • setKnowledgeBaseArn

      @Stability(Stable) public void setKnowledgeBaseArn(@NotNull String value)
      The Amazon Resource Name (ARN) of the knowledge base.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the quick response.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the quick response.
    • getChannels

      @Stability(Stable) @Nullable public List<String> getChannels()
      The Amazon Connect contact channels this quick response applies to.
    • setChannels

      @Stability(Stable) public void setChannels(@Nullable List<String> value)
      The Amazon Connect contact channels this quick response applies to.
    • getContentType

      @Stability(Stable) @Nullable public String getContentType()
      The media type of the quick response content.
    • setContentType

      @Stability(Stable) public void setContentType(@Nullable String value)
      The media type of the quick response content.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the quick response.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the quick response.
    • getGroupingConfiguration

      @Stability(Stable) @Nullable public Object getGroupingConfiguration()
      The configuration information of the user groups that the quick response is accessible to.
    • setGroupingConfiguration

      @Stability(Stable) public void setGroupingConfiguration(@Nullable IResolvable value)
      The configuration information of the user groups that the quick response is accessible to.
    • setGroupingConfiguration

      @Stability(Stable) public void setGroupingConfiguration(@Nullable CfnQuickResponse.GroupingConfigurationProperty value)
      The configuration information of the user groups that the quick response is accessible to.
    • getIsActive

      @Stability(Stable) @Nullable public Object getIsActive()
      Whether the quick response is active.
    • setIsActive

      @Stability(Stable) public void setIsActive(@Nullable Boolean value)
      Whether the quick response is active.
    • setIsActive

      @Stability(Stable) public void setIsActive(@Nullable IResolvable value)
      Whether the quick response is active.
    • getLanguage

      @Stability(Stable) @Nullable public String getLanguage()
      The language code value for the language in which the quick response is written.
    • setLanguage

      @Stability(Stable) public void setLanguage(@Nullable String value)
      The language code value for the language in which the quick response is written.
    • getShortcutKey

      @Stability(Stable) @Nullable public String getShortcutKey()
      The shortcut key of the quick response.
    • setShortcutKey

      @Stability(Stable) public void setShortcutKey(@Nullable String value)
      The shortcut key of the quick response.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags used to organize, track, or control access for this resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags used to organize, track, or control access for this resource.