Interface CreateCallAnalyticsCategoryRequest.Builder

    • Method Detail

      • categoryName

        CreateCallAnalyticsCategoryRequest.Builder categoryName​(String categoryName)

        A unique name, chosen by you, for your Call Analytics category. It's helpful to use a detailed naming system that will make sense to you in the future. For example, it's better to use sentiment-positive-last30seconds for a category over a generic name like test-category.

        Category names are case sensitive.

        Parameters:
        categoryName - A unique name, chosen by you, for your Call Analytics category. It's helpful to use a detailed naming system that will make sense to you in the future. For example, it's better to use sentiment-positive-last30seconds for a category over a generic name like test-category.

        Category names are case sensitive.

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

        CreateCallAnalyticsCategoryRequest.Builder rules​(Collection<Rule> rules)

        Rules define a Call Analytics category. When creating a new category, you must create between 1 and 20 rules for that category. For each rule, you specify a filter you want applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a customer's sentiment was positive during the last 30 seconds of the call.

        Parameters:
        rules - Rules define a Call Analytics category. When creating a new category, you must create between 1 and 20 rules for that category. For each rule, you specify a filter you want applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a customer's sentiment was positive during the last 30 seconds of the call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        CreateCallAnalyticsCategoryRequest.Builder rules​(Rule... rules)

        Rules define a Call Analytics category. When creating a new category, you must create between 1 and 20 rules for that category. For each rule, you specify a filter you want applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a customer's sentiment was positive during the last 30 seconds of the call.

        Parameters:
        rules - Rules define a Call Analytics category. When creating a new category, you must create between 1 and 20 rules for that category. For each rule, you specify a filter you want applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a customer's sentiment was positive during the last 30 seconds of the call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        CreateCallAnalyticsCategoryRequest.Builder rules​(Consumer<Rule.Builder>... rules)

        Rules define a Call Analytics category. When creating a new category, you must create between 1 and 20 rules for that category. For each rule, you specify a filter you want applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a customer's sentiment was positive during the last 30 seconds of the call.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #rules(List).

        Parameters:
        rules - a consumer that will call methods on Rule.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #rules(java.util.Collection)
      • inputType

        CreateCallAnalyticsCategoryRequest.Builder inputType​(String inputType)

        Choose whether you want to create a real-time or a post-call category for your Call Analytics transcription.

        Specifying POST_CALL assigns your category to post-call transcriptions; categories with this input type cannot be applied to streaming (real-time) transcriptions.

        Specifying REAL_TIME assigns your category to streaming transcriptions; categories with this input type cannot be applied to post-call transcriptions.

        If you do not include InputType, your category is created as a post-call category by default.

        Parameters:
        inputType - Choose whether you want to create a real-time or a post-call category for your Call Analytics transcription.

        Specifying POST_CALL assigns your category to post-call transcriptions; categories with this input type cannot be applied to streaming (real-time) transcriptions.

        Specifying REAL_TIME assigns your category to streaming transcriptions; categories with this input type cannot be applied to post-call transcriptions.

        If you do not include InputType, your category is created as a post-call category by default.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InputType, InputType
      • inputType

        CreateCallAnalyticsCategoryRequest.Builder inputType​(InputType inputType)

        Choose whether you want to create a real-time or a post-call category for your Call Analytics transcription.

        Specifying POST_CALL assigns your category to post-call transcriptions; categories with this input type cannot be applied to streaming (real-time) transcriptions.

        Specifying REAL_TIME assigns your category to streaming transcriptions; categories with this input type cannot be applied to post-call transcriptions.

        If you do not include InputType, your category is created as a post-call category by default.

        Parameters:
        inputType - Choose whether you want to create a real-time or a post-call category for your Call Analytics transcription.

        Specifying POST_CALL assigns your category to post-call transcriptions; categories with this input type cannot be applied to streaming (real-time) transcriptions.

        Specifying REAL_TIME assigns your category to streaming transcriptions; categories with this input type cannot be applied to post-call transcriptions.

        If you do not include InputType, your category is created as a post-call category by default.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InputType, InputType