Interface CreateCallAnalyticsCategoryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCallAnalyticsCategoryRequest.Builder,,CreateCallAnalyticsCategoryRequest> SdkBuilder<CreateCallAnalyticsCategoryRequest.Builder,,CreateCallAnalyticsCategoryRequest> SdkPojo,SdkRequest.Builder,TranscribeRequest.Builder
- Enclosing class:
CreateCallAnalyticsCategoryRequest
-
Method Summary
Modifier and TypeMethodDescriptioncategoryName(String categoryName) A unique name, chosen by you, for your Call Analytics category.Choose whether you want to create a real-time or a post-call category for your Call Analytics transcription.Choose whether you want to create a real-time or a post-call category for your Call Analytics transcription.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rules(Collection<Rule> rules) Rules define a Call Analytics category.rules(Consumer<Rule.Builder>... rules) Rules define a Call Analytics category.Rules define a Call Analytics category.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.transcribe.model.TranscribeRequest.Builder
build
-
Method Details
-
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-last30secondsfor a category over a generic name liketest-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 usesentiment-positive-last30secondsfor a category over a generic name liketest-category.Category names are case sensitive.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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 theRule.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<Rule>).- Parameters:
rules- a consumer that will call methods onRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputType
Choose whether you want to create a real-time or a post-call category for your Call Analytics transcription.
Specifying
POST_CALLassigns your category to post-call transcriptions; categories with this input type cannot be applied to streaming (real-time) transcriptions.Specifying
REAL_TIMEassigns 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_CALLassigns your category to post-call transcriptions; categories with this input type cannot be applied to streaming (real-time) transcriptions.Specifying
REAL_TIMEassigns 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
Choose whether you want to create a real-time or a post-call category for your Call Analytics transcription.
Specifying
POST_CALLassigns your category to post-call transcriptions; categories with this input type cannot be applied to streaming (real-time) transcriptions.Specifying
REAL_TIMEassigns 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_CALLassigns your category to post-call transcriptions; categories with this input type cannot be applied to streaming (real-time) transcriptions.Specifying
REAL_TIMEassigns 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:
-
overrideConfiguration
CreateCallAnalyticsCategoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateCallAnalyticsCategoryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-