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)
      • tags

        CreateCallAnalyticsCategoryRequest.Builder tags​(Collection<Tag> tags)

        Adds one or more custom tags, each in the form of a key:value pair, to a new call analytics category at the time you start this new job.

        To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

        Parameters:
        tags - Adds one or more custom tags, each in the form of a key:value pair, to a new call analytics category at the time you start this new job.

        To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

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

        CreateCallAnalyticsCategoryRequest.Builder tags​(Tag... tags)

        Adds one or more custom tags, each in the form of a key:value pair, to a new call analytics category at the time you start this new job.

        To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

        Parameters:
        tags - Adds one or more custom tags, each in the form of a key:value pair, to a new call analytics category at the time you start this new job.

        To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

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

        CreateCallAnalyticsCategoryRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        Adds one or more custom tags, each in the form of a key:value pair, to a new call analytics category at the time you start this new job.

        To learn more about using tags with Amazon Transcribe, refer to Tagging resources.

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

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

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(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