Class CfnCallAnalyticsCategory

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.transcribe.CfnCallAnalyticsCategory
All Implemented Interfaces:
IInspectable, IEnvironmentAware, ICallAnalyticsCategoryRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)", date="2026-09-30T11:05:02.858Z") @Stability(Stable) public class CfnCallAnalyticsCategory extends CfnResource implements IInspectable, ICallAnalyticsCategoryRef, ITaggableV2
Resource type definition for AWS::Transcribe::CallAnalyticsCategory.

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.transcribe.*;
 CfnCallAnalyticsCategory cfnCallAnalyticsCategory = CfnCallAnalyticsCategory.Builder.create(this, "MyCfnCallAnalyticsCategory")
         .categoryName("categoryName")
         .rules(List.of(RuleProperty.builder()
                 .interruptionFilter(InterruptionFilterProperty.builder()
                         .absoluteTimeRange(AbsoluteTimeRangeProperty.builder()
                                 .endTime(123)
                                 .first(123)
                                 .last(123)
                                 .startTime(123)
                                 .build())
                         .negate(false)
                         .participantRole("participantRole")
                         .relativeTimeRange(RelativeTimeRangeProperty.builder()
                                 .endPercentage(123)
                                 .first(123)
                                 .last(123)
                                 .startPercentage(123)
                                 .build())
                         .threshold(123)
                         .build())
                 .nonTalkTimeFilter(NonTalkTimeFilterProperty.builder()
                         .absoluteTimeRange(AbsoluteTimeRangeProperty.builder()
                                 .endTime(123)
                                 .first(123)
                                 .last(123)
                                 .startTime(123)
                                 .build())
                         .negate(false)
                         .relativeTimeRange(RelativeTimeRangeProperty.builder()
                                 .endPercentage(123)
                                 .first(123)
                                 .last(123)
                                 .startPercentage(123)
                                 .build())
                         .threshold(123)
                         .build())
                 .sentimentFilter(SentimentFilterProperty.builder()
                         .sentiments(List.of("sentiments"))
                         // the properties below are optional
                         .absoluteTimeRange(AbsoluteTimeRangeProperty.builder()
                                 .endTime(123)
                                 .first(123)
                                 .last(123)
                                 .startTime(123)
                                 .build())
                         .negate(false)
                         .participantRole("participantRole")
                         .relativeTimeRange(RelativeTimeRangeProperty.builder()
                                 .endPercentage(123)
                                 .first(123)
                                 .last(123)
                                 .startPercentage(123)
                                 .build())
                         .build())
                 .transcriptFilter(TranscriptFilterProperty.builder()
                         .targets(List.of("targets"))
                         .transcriptFilterType("transcriptFilterType")
                         // the properties below are optional
                         .absoluteTimeRange(AbsoluteTimeRangeProperty.builder()
                                 .endTime(123)
                                 .first(123)
                                 .last(123)
                                 .startTime(123)
                                 .build())
                         .negate(false)
                         .participantRole("participantRole")
                         .relativeTimeRange(RelativeTimeRangeProperty.builder()
                                 .endPercentage(123)
                                 .first(123)
                                 .last(123)
                                 .startPercentage(123)
                                 .build())
                         .build())
                 .build()))
         // the properties below are optional
         .inputType("inputType")
         .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

    • CfnCallAnalyticsCategory

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

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

      @Stability(Stable) public CfnCallAnalyticsCategory(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCallAnalyticsCategoryProps props)
      Create a new AWS::Transcribe::CallAnalyticsCategory.

      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

    • arnForCallAnalyticsCategory

      @Stability(Stable) @NotNull public static String arnForCallAnalyticsCategory(@NotNull ICallAnalyticsCategoryRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnCallAnalyticsCategory

      @Stability(Stable) @NotNull public static Boolean isCfnCallAnalyticsCategory(@NotNull Object x)
      Checks whether the given object is a CfnCallAnalyticsCategory.

      Parameters:
      x - This parameter is required.
    • 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.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the Call Analytics category.
    • getAttrCreateTime

      @Stability(Stable) @NotNull public String getAttrCreateTime()
      The date and time the Call Analytics category was created.
    • getAttrLastUpdateTime

      @Stability(Stable) @NotNull public String getAttrLastUpdateTime()
      The date and time the Call Analytics category was last updated.
    • getCallAnalyticsCategoryRef

      @Stability(Stable) @NotNull public CallAnalyticsCategoryReference getCallAnalyticsCategoryRef()
      A reference to a CallAnalyticsCategory resource.
      Specified by:
      getCallAnalyticsCategoryRef in interface ICallAnalyticsCategoryRef
    • 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
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getCategoryName

      @Stability(Stable) @NotNull public String getCategoryName()
      A unique name, chosen by you, for your Call Analytics category.
    • setCategoryName

      @Stability(Stable) public void setCategoryName(@NotNull String value)
      A unique name, chosen by you, for your Call Analytics category.
    • getRules

      @Stability(Stable) @NotNull public Object getRules()
      Rules define a Call Analytics category.

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnCallAnalyticsCategory.RuleProperty>

    • setRules

      @Stability(Stable) public void setRules(@NotNull IResolvable value)
      Rules define a Call Analytics category.
    • setRules

      @Stability(Stable) public void setRules(@NotNull List<Object> value)
      Rules define a Call Analytics category.
    • getInputType

      @Stability(Stable) @Nullable public String getInputType()
      The input type associated with the specified category.
    • setInputType

      @Stability(Stable) public void setInputType(@Nullable String value)
      The input type associated with the specified category.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags associated with the Call Analytics category.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags associated with the Call Analytics category.