/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.chimesdkmediapipelines.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A structure that contains the configuration settings for an Amazon Transcribe call analytics processor. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AmazonTranscribeCallAnalyticsProcessorConfiguration implements Serializable, Cloneable, StructuredPojo { /** ** The language code in the configuration. *
*/ private String languageCode; /** ** Specifies the name of the custom vocabulary to use when processing a transcription. Note that vocabulary names * are case sensitive. *
** If the language of the specified custom vocabulary doesn't match the language identified in your media, the * custom vocabulary is not applied to your transcription. *
** For more information, see Custom vocabularies in the * Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. *
*/ private String vocabularyName; /** ** Specifies the name of the custom vocabulary filter to use when processing a transcription. Note that vocabulary * filter names are case sensitive. *
** If the language of the specified custom vocabulary filter doesn't match the language identified in your media, * the vocabulary filter is not applied to your transcription. *
** For more information, see Using vocabulary filtering with * unwanted words in the Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. *
*/ private String vocabularyFilterName; /** ** Specifies how to apply a vocabulary filter to a transcript. *
*
     * To replace words with ***, choose mask.
     * 
     * To delete words, choose remove.
     * 
     * To flag words without changing them, choose tag.
     * 
* Specifies the name of the custom language model to use when processing a transcription. Note that language model * names are case sensitive. *
** The language of the specified language model must match the language code specified in the transcription request. * If the languages don't match, the custom language model isn't applied. Language mismatches don't generate errors * or warnings. *
** For more information, see Custom language models in * the Amazon Transcribe Developer Guide. *
*/ private String languageModelName; /** ** Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in * your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. *
*/ private Boolean enablePartialResultsStabilization; /** *
     * Specifies the level of stability to use when you enable partial results stabilization (
     * EnablePartialResultsStabilization).
     * 
* Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy. *
** For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. *
*/ private String partialResultsStability; /** ** Labels all personally identifiable information (PII) identified in your transcript. *
*
     * Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged
     * upon complete transcription of an audio segment.
     * 
     * You can’t set ContentIdentificationType and ContentRedactionType in the same request.
     * If you do, your request returns a BadRequestException.
     * 
* For more information, see Redacting * or identifying personally identifiable information in the Amazon Transcribe Developer Guide. *
*/ private String contentIdentificationType; /** ** Redacts all personally identifiable information (PII) identified in your transcript. *
*
     * Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted
     * upon complete transcription of an audio segment.
     * 
     * You can’t set ContentRedactionType and ContentIdentificationType in the same request.
     * If you do, your request returns a BadRequestException.
     * 
* For more information, see Redacting * or identifying personally identifiable information in the Amazon Transcribe Developer Guide. *
*/ private String contentRedactionType; /** *
     * Specifies the types of personally identifiable information (PII) to redact from a transcript. You can include as
     * many types as you'd like, or you can select ALL.
     * 
     * To include PiiEntityTypes in your Call Analytics request, you must also include
     * ContentIdentificationType or ContentRedactionType, but you can't include both.
     * 
     * Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER,
     * BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,
     * CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN,
     * SSN, or ALL.
     * 
* Length Constraints: Minimum length of 1. Maximum length of 300. *
*/ private String piiEntityTypes; /** *
     * If true, UtteranceEvents with IsPartial: true are filtered out of the insights target.
     * 
* The settings for a post-call analysis task in an analytics configuration. *
*/ private PostCallAnalyticsSettings postCallAnalyticsSettings; /** *
     * By default, all CategoryEvents are sent to the insights target. If this parameter is specified, only
     * included categories are sent to the insights target.
     * 
* The language code in the configuration. *
* * @param languageCode * The language code in the configuration. * @see CallAnalyticsLanguageCode */ public void setLanguageCode(String languageCode) { this.languageCode = languageCode; } /** ** The language code in the configuration. *
* * @return The language code in the configuration. * @see CallAnalyticsLanguageCode */ public String getLanguageCode() { return this.languageCode; } /** ** The language code in the configuration. *
* * @param languageCode * The language code in the configuration. * @return Returns a reference to this object so that method calls can be chained together. * @see CallAnalyticsLanguageCode */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withLanguageCode(String languageCode) { setLanguageCode(languageCode); return this; } /** ** The language code in the configuration. *
* * @param languageCode * The language code in the configuration. * @return Returns a reference to this object so that method calls can be chained together. * @see CallAnalyticsLanguageCode */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withLanguageCode(CallAnalyticsLanguageCode languageCode) { this.languageCode = languageCode.toString(); return this; } /** ** Specifies the name of the custom vocabulary to use when processing a transcription. Note that vocabulary names * are case sensitive. *
** If the language of the specified custom vocabulary doesn't match the language identified in your media, the * custom vocabulary is not applied to your transcription. *
** For more information, see Custom vocabularies in the * Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. *
* * @param vocabularyName * Specifies the name of the custom vocabulary to use when processing a transcription. Note that vocabulary * names are case sensitive. ** If the language of the specified custom vocabulary doesn't match the language identified in your media, * the custom vocabulary is not applied to your transcription. *
** For more information, see Custom vocabularies in * the Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. */ public void setVocabularyName(String vocabularyName) { this.vocabularyName = vocabularyName; } /** *
* Specifies the name of the custom vocabulary to use when processing a transcription. Note that vocabulary names * are case sensitive. *
** If the language of the specified custom vocabulary doesn't match the language identified in your media, the * custom vocabulary is not applied to your transcription. *
** For more information, see Custom vocabularies in the * Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. *
* * @return Specifies the name of the custom vocabulary to use when processing a transcription. Note that vocabulary * names are case sensitive. ** If the language of the specified custom vocabulary doesn't match the language identified in your media, * the custom vocabulary is not applied to your transcription. *
** For more information, see Custom vocabularies in * the Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. */ public String getVocabularyName() { return this.vocabularyName; } /** *
* Specifies the name of the custom vocabulary to use when processing a transcription. Note that vocabulary names * are case sensitive. *
** If the language of the specified custom vocabulary doesn't match the language identified in your media, the * custom vocabulary is not applied to your transcription. *
** For more information, see Custom vocabularies in the * Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. *
* * @param vocabularyName * Specifies the name of the custom vocabulary to use when processing a transcription. Note that vocabulary * names are case sensitive. ** If the language of the specified custom vocabulary doesn't match the language identified in your media, * the custom vocabulary is not applied to your transcription. *
** For more information, see Custom vocabularies in * the Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. * @return Returns a reference to this object so that method calls can be chained together. */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withVocabularyName(String vocabularyName) { setVocabularyName(vocabularyName); return this; } /** *
* Specifies the name of the custom vocabulary filter to use when processing a transcription. Note that vocabulary * filter names are case sensitive. *
** If the language of the specified custom vocabulary filter doesn't match the language identified in your media, * the vocabulary filter is not applied to your transcription. *
** For more information, see Using vocabulary filtering with * unwanted words in the Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. *
* * @param vocabularyFilterName * Specifies the name of the custom vocabulary filter to use when processing a transcription. Note that * vocabulary filter names are case sensitive. ** If the language of the specified custom vocabulary filter doesn't match the language identified in your * media, the vocabulary filter is not applied to your transcription. *
** For more information, see Using vocabulary * filtering with unwanted words in the Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. */ public void setVocabularyFilterName(String vocabularyFilterName) { this.vocabularyFilterName = vocabularyFilterName; } /** *
* Specifies the name of the custom vocabulary filter to use when processing a transcription. Note that vocabulary * filter names are case sensitive. *
** If the language of the specified custom vocabulary filter doesn't match the language identified in your media, * the vocabulary filter is not applied to your transcription. *
** For more information, see Using vocabulary filtering with * unwanted words in the Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. *
* * @return Specifies the name of the custom vocabulary filter to use when processing a transcription. Note that * vocabulary filter names are case sensitive. ** If the language of the specified custom vocabulary filter doesn't match the language identified in your * media, the vocabulary filter is not applied to your transcription. *
** For more information, see Using vocabulary * filtering with unwanted words in the Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. */ public String getVocabularyFilterName() { return this.vocabularyFilterName; } /** *
* Specifies the name of the custom vocabulary filter to use when processing a transcription. Note that vocabulary * filter names are case sensitive. *
** If the language of the specified custom vocabulary filter doesn't match the language identified in your media, * the vocabulary filter is not applied to your transcription. *
** For more information, see Using vocabulary filtering with * unwanted words in the Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. *
* * @param vocabularyFilterName * Specifies the name of the custom vocabulary filter to use when processing a transcription. Note that * vocabulary filter names are case sensitive. ** If the language of the specified custom vocabulary filter doesn't match the language identified in your * media, the vocabulary filter is not applied to your transcription. *
** For more information, see Using vocabulary * filtering with unwanted words in the Amazon Transcribe Developer Guide. *
** Length Constraints: Minimum length of 1. Maximum length of 200. * @return Returns a reference to this object so that method calls can be chained together. */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withVocabularyFilterName(String vocabularyFilterName) { setVocabularyFilterName(vocabularyFilterName); return this; } /** *
* Specifies how to apply a vocabulary filter to a transcript. *
*
     * To replace words with ***, choose mask.
     * 
     * To delete words, choose remove.
     * 
     * To flag words without changing them, choose tag.
     * 
     *        To replace words with ***, choose mask.
     *        
     *        To delete words, choose remove.
     *        
     *        To flag words without changing them, choose tag.
     * @see VocabularyFilterMethod
     */
    public void setVocabularyFilterMethod(String vocabularyFilterMethod) {
        this.vocabularyFilterMethod = vocabularyFilterMethod;
    }
    /**
     * 
* Specifies how to apply a vocabulary filter to a transcript. *
*
     * To replace words with ***, choose mask.
     * 
     * To delete words, choose remove.
     * 
     * To flag words without changing them, choose tag.
     * 
     *         To replace words with ***, choose mask.
     *         
     *         To delete words, choose remove.
     *         
     *         To flag words without changing them, choose tag.
     * @see VocabularyFilterMethod
     */
    public String getVocabularyFilterMethod() {
        return this.vocabularyFilterMethod;
    }
    /**
     * 
* Specifies how to apply a vocabulary filter to a transcript. *
*
     * To replace words with ***, choose mask.
     * 
     * To delete words, choose remove.
     * 
     * To flag words without changing them, choose tag.
     * 
     *        To replace words with ***, choose mask.
     *        
     *        To delete words, choose remove.
     *        
     *        To flag words without changing them, choose tag.
     * @return Returns a reference to this object so that method calls can be chained together.
     * @see VocabularyFilterMethod
     */
    public AmazonTranscribeCallAnalyticsProcessorConfiguration withVocabularyFilterMethod(String vocabularyFilterMethod) {
        setVocabularyFilterMethod(vocabularyFilterMethod);
        return this;
    }
    /**
     * 
* Specifies how to apply a vocabulary filter to a transcript. *
*
     * To replace words with ***, choose mask.
     * 
     * To delete words, choose remove.
     * 
     * To flag words without changing them, choose tag.
     * 
     *        To replace words with ***, choose mask.
     *        
     *        To delete words, choose remove.
     *        
     *        To flag words without changing them, choose tag.
     * @return Returns a reference to this object so that method calls can be chained together.
     * @see VocabularyFilterMethod
     */
    public AmazonTranscribeCallAnalyticsProcessorConfiguration withVocabularyFilterMethod(VocabularyFilterMethod vocabularyFilterMethod) {
        this.vocabularyFilterMethod = vocabularyFilterMethod.toString();
        return this;
    }
    /**
     * 
* Specifies the name of the custom language model to use when processing a transcription. Note that language model * names are case sensitive. *
** The language of the specified language model must match the language code specified in the transcription request. * If the languages don't match, the custom language model isn't applied. Language mismatches don't generate errors * or warnings. *
** For more information, see Custom language models in * the Amazon Transcribe Developer Guide. *
* * @param languageModelName * Specifies the name of the custom language model to use when processing a transcription. Note that language * model names are case sensitive. ** The language of the specified language model must match the language code specified in the transcription * request. If the languages don't match, the custom language model isn't applied. Language mismatches don't * generate errors or warnings. *
** For more information, see Custom language * models in the Amazon Transcribe Developer Guide. */ public void setLanguageModelName(String languageModelName) { this.languageModelName = languageModelName; } /** *
* Specifies the name of the custom language model to use when processing a transcription. Note that language model * names are case sensitive. *
** The language of the specified language model must match the language code specified in the transcription request. * If the languages don't match, the custom language model isn't applied. Language mismatches don't generate errors * or warnings. *
** For more information, see Custom language models in * the Amazon Transcribe Developer Guide. *
* * @return Specifies the name of the custom language model to use when processing a transcription. Note that * language model names are case sensitive. ** The language of the specified language model must match the language code specified in the transcription * request. If the languages don't match, the custom language model isn't applied. Language mismatches don't * generate errors or warnings. *
** For more information, see Custom language * models in the Amazon Transcribe Developer Guide. */ public String getLanguageModelName() { return this.languageModelName; } /** *
* Specifies the name of the custom language model to use when processing a transcription. Note that language model * names are case sensitive. *
** The language of the specified language model must match the language code specified in the transcription request. * If the languages don't match, the custom language model isn't applied. Language mismatches don't generate errors * or warnings. *
** For more information, see Custom language models in * the Amazon Transcribe Developer Guide. *
* * @param languageModelName * Specifies the name of the custom language model to use when processing a transcription. Note that language * model names are case sensitive. ** The language of the specified language model must match the language code specified in the transcription * request. If the languages don't match, the custom language model isn't applied. Language mismatches don't * generate errors or warnings. *
** For more information, see Custom language * models in the Amazon Transcribe Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withLanguageModelName(String languageModelName) { setLanguageModelName(languageModelName); return this; } /** *
* Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in * your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. *
* * @param enablePartialResultsStabilization * Enables partial result stabilization for your transcription. Partial result stabilization can reduce * latency in your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. */ public void setEnablePartialResultsStabilization(Boolean enablePartialResultsStabilization) { this.enablePartialResultsStabilization = enablePartialResultsStabilization; } /** ** Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in * your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. *
* * @return Enables partial result stabilization for your transcription. Partial result stabilization can reduce * latency in your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. */ public Boolean getEnablePartialResultsStabilization() { return this.enablePartialResultsStabilization; } /** ** Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in * your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. *
* * @param enablePartialResultsStabilization * Enables partial result stabilization for your transcription. Partial result stabilization can reduce * latency in your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withEnablePartialResultsStabilization(Boolean enablePartialResultsStabilization) { setEnablePartialResultsStabilization(enablePartialResultsStabilization); return this; } /** ** Enables partial result stabilization for your transcription. Partial result stabilization can reduce latency in * your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. *
* * @return Enables partial result stabilization for your transcription. Partial result stabilization can reduce * latency in your output, but may impact accuracy. For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. */ public Boolean isEnablePartialResultsStabilization() { return this.enablePartialResultsStabilization; } /** *
     * Specifies the level of stability to use when you enable partial results stabilization (
     * EnablePartialResultsStabilization).
     * 
* Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy. *
** For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. *
* * @param partialResultsStability * Specifies the level of stability to use when you enable partial results stabilization ( *EnablePartialResultsStabilization).
     *        * Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower * accuracy. *
** For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. * @see PartialResultsStability */ public void setPartialResultsStability(String partialResultsStability) { this.partialResultsStability = partialResultsStability; } /** *
     * Specifies the level of stability to use when you enable partial results stabilization (
     * EnablePartialResultsStabilization).
     * 
* Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy. *
** For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. *
* * @return Specifies the level of stability to use when you enable partial results stabilization ( *EnablePartialResultsStabilization).
     *         * Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower * accuracy. *
** For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. * @see PartialResultsStability */ public String getPartialResultsStability() { return this.partialResultsStability; } /** *
     * Specifies the level of stability to use when you enable partial results stabilization (
     * EnablePartialResultsStabilization).
     * 
* Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy. *
** For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. *
* * @param partialResultsStability * Specifies the level of stability to use when you enable partial results stabilization ( *EnablePartialResultsStabilization).
     *        * Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower * accuracy. *
** For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. * @see PartialResultsStability */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withPartialResultsStability(String partialResultsStability) { setPartialResultsStability(partialResultsStability); return this; } /** *
     * Specifies the level of stability to use when you enable partial results stabilization (
     * EnablePartialResultsStabilization).
     * 
* Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower accuracy. *
** For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. *
* * @param partialResultsStability * Specifies the level of stability to use when you enable partial results stabilization ( *EnablePartialResultsStabilization).
     *        * Low stability provides the highest accuracy. High stability transcribes faster, but with slightly lower * accuracy. *
** For more information, see Partial-result stabilization in the Amazon Transcribe Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. * @see PartialResultsStability */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withPartialResultsStability(PartialResultsStability partialResultsStability) { this.partialResultsStability = partialResultsStability.toString(); return this; } /** *
* Labels all personally identifiable information (PII) identified in your transcript. *
*
     * Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged
     * upon complete transcription of an audio segment.
     * 
     * You can’t set ContentIdentificationType and ContentRedactionType in the same request.
     * If you do, your request returns a BadRequestException.
     * 
* For more information, see Redacting * or identifying personally identifiable information in the Amazon Transcribe Developer Guide. *
* * @param contentIdentificationType * Labels all personally identifiable information (PII) identified in your transcript. *
     *        Content identification is performed at the segment level; PII specified in PiiEntityTypes is
     *        flagged upon complete transcription of an audio segment.
     *        
     *        You can’t set ContentIdentificationType and ContentRedactionType in the same
     *        request. If you do, your request returns a BadRequestException.
     *        
* For more information, see Redacting or identifying * personally identifiable information in the Amazon Transcribe Developer Guide. * @see ContentType */ public void setContentIdentificationType(String contentIdentificationType) { this.contentIdentificationType = contentIdentificationType; } /** *
* Labels all personally identifiable information (PII) identified in your transcript. *
*
     * Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged
     * upon complete transcription of an audio segment.
     * 
     * You can’t set ContentIdentificationType and ContentRedactionType in the same request.
     * If you do, your request returns a BadRequestException.
     * 
* For more information, see Redacting * or identifying personally identifiable information in the Amazon Transcribe Developer Guide. *
* * @return Labels all personally identifiable information (PII) identified in your transcript. *
     *         Content identification is performed at the segment level; PII specified in PiiEntityTypes is
     *         flagged upon complete transcription of an audio segment.
     *         
     *         You can’t set ContentIdentificationType and ContentRedactionType in the same
     *         request. If you do, your request returns a BadRequestException.
     *         
* For more information, see Redacting or identifying * personally identifiable information in the Amazon Transcribe Developer Guide. * @see ContentType */ public String getContentIdentificationType() { return this.contentIdentificationType; } /** *
* Labels all personally identifiable information (PII) identified in your transcript. *
*
     * Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged
     * upon complete transcription of an audio segment.
     * 
     * You can’t set ContentIdentificationType and ContentRedactionType in the same request.
     * If you do, your request returns a BadRequestException.
     * 
* For more information, see Redacting * or identifying personally identifiable information in the Amazon Transcribe Developer Guide. *
* * @param contentIdentificationType * Labels all personally identifiable information (PII) identified in your transcript. *
     *        Content identification is performed at the segment level; PII specified in PiiEntityTypes is
     *        flagged upon complete transcription of an audio segment.
     *        
     *        You can’t set ContentIdentificationType and ContentRedactionType in the same
     *        request. If you do, your request returns a BadRequestException.
     *        
* For more information, see Redacting or identifying * personally identifiable information in the Amazon Transcribe Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. * @see ContentType */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withContentIdentificationType(String contentIdentificationType) { setContentIdentificationType(contentIdentificationType); return this; } /** *
* Labels all personally identifiable information (PII) identified in your transcript. *
*
     * Content identification is performed at the segment level; PII specified in PiiEntityTypes is flagged
     * upon complete transcription of an audio segment.
     * 
     * You can’t set ContentIdentificationType and ContentRedactionType in the same request.
     * If you do, your request returns a BadRequestException.
     * 
* For more information, see Redacting * or identifying personally identifiable information in the Amazon Transcribe Developer Guide. *
* * @param contentIdentificationType * Labels all personally identifiable information (PII) identified in your transcript. *
     *        Content identification is performed at the segment level; PII specified in PiiEntityTypes is
     *        flagged upon complete transcription of an audio segment.
     *        
     *        You can’t set ContentIdentificationType and ContentRedactionType in the same
     *        request. If you do, your request returns a BadRequestException.
     *        
* For more information, see Redacting or identifying * personally identifiable information in the Amazon Transcribe Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. * @see ContentType */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withContentIdentificationType(ContentType contentIdentificationType) { this.contentIdentificationType = contentIdentificationType.toString(); return this; } /** *
* Redacts all personally identifiable information (PII) identified in your transcript. *
*
     * Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted
     * upon complete transcription of an audio segment.
     * 
     * You can’t set ContentRedactionType and ContentIdentificationType in the same request.
     * If you do, your request returns a BadRequestException.
     * 
* For more information, see Redacting * or identifying personally identifiable information in the Amazon Transcribe Developer Guide. *
* * @param contentRedactionType * Redacts all personally identifiable information (PII) identified in your transcript. *
     *        Content redaction is performed at the segment level; PII specified in PiiEntityTypes is
     *        redacted upon complete transcription of an audio segment.
     *        
     *        You can’t set ContentRedactionType and ContentIdentificationType in the same
     *        request. If you do, your request returns a BadRequestException.
     *        
* For more information, see Redacting or identifying * personally identifiable information in the Amazon Transcribe Developer Guide. * @see ContentType */ public void setContentRedactionType(String contentRedactionType) { this.contentRedactionType = contentRedactionType; } /** *
* Redacts all personally identifiable information (PII) identified in your transcript. *
*
     * Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted
     * upon complete transcription of an audio segment.
     * 
     * You can’t set ContentRedactionType and ContentIdentificationType in the same request.
     * If you do, your request returns a BadRequestException.
     * 
* For more information, see Redacting * or identifying personally identifiable information in the Amazon Transcribe Developer Guide. *
* * @return Redacts all personally identifiable information (PII) identified in your transcript. *
     *         Content redaction is performed at the segment level; PII specified in PiiEntityTypes is
     *         redacted upon complete transcription of an audio segment.
     *         
     *         You can’t set ContentRedactionType and ContentIdentificationType in the same
     *         request. If you do, your request returns a BadRequestException.
     *         
* For more information, see Redacting or identifying * personally identifiable information in the Amazon Transcribe Developer Guide. * @see ContentType */ public String getContentRedactionType() { return this.contentRedactionType; } /** *
* Redacts all personally identifiable information (PII) identified in your transcript. *
*
     * Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted
     * upon complete transcription of an audio segment.
     * 
     * You can’t set ContentRedactionType and ContentIdentificationType in the same request.
     * If you do, your request returns a BadRequestException.
     * 
* For more information, see Redacting * or identifying personally identifiable information in the Amazon Transcribe Developer Guide. *
* * @param contentRedactionType * Redacts all personally identifiable information (PII) identified in your transcript. *
     *        Content redaction is performed at the segment level; PII specified in PiiEntityTypes is
     *        redacted upon complete transcription of an audio segment.
     *        
     *        You can’t set ContentRedactionType and ContentIdentificationType in the same
     *        request. If you do, your request returns a BadRequestException.
     *        
* For more information, see Redacting or identifying * personally identifiable information in the Amazon Transcribe Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. * @see ContentType */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withContentRedactionType(String contentRedactionType) { setContentRedactionType(contentRedactionType); return this; } /** *
* Redacts all personally identifiable information (PII) identified in your transcript. *
*
     * Content redaction is performed at the segment level; PII specified in PiiEntityTypes is redacted
     * upon complete transcription of an audio segment.
     * 
     * You can’t set ContentRedactionType and ContentIdentificationType in the same request.
     * If you do, your request returns a BadRequestException.
     * 
* For more information, see Redacting * or identifying personally identifiable information in the Amazon Transcribe Developer Guide. *
* * @param contentRedactionType * Redacts all personally identifiable information (PII) identified in your transcript. *
     *        Content redaction is performed at the segment level; PII specified in PiiEntityTypes is
     *        redacted upon complete transcription of an audio segment.
     *        
     *        You can’t set ContentRedactionType and ContentIdentificationType in the same
     *        request. If you do, your request returns a BadRequestException.
     *        
* For more information, see Redacting or identifying * personally identifiable information in the Amazon Transcribe Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. * @see ContentType */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withContentRedactionType(ContentType contentRedactionType) { this.contentRedactionType = contentRedactionType.toString(); return this; } /** *
     * Specifies the types of personally identifiable information (PII) to redact from a transcript. You can include as
     * many types as you'd like, or you can select ALL.
     * 
     * To include PiiEntityTypes in your Call Analytics request, you must also include
     * ContentIdentificationType or ContentRedactionType, but you can't include both.
     * 
     * Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER,
     * BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,
     * CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN,
     * SSN, or ALL.
     * 
* Length Constraints: Minimum length of 1. Maximum length of 300. *
* * @param piiEntityTypes * Specifies the types of personally identifiable information (PII) to redact from a transcript. You can * include as many types as you'd like, or you can selectALL.
     *        
     *        To include PiiEntityTypes in your Call Analytics request, you must also include
     *        ContentIdentificationType or ContentRedactionType, but you can't include both.
     *        
     *        Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER,
     *        BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,
     *        CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE,
     *        PIN, SSN, or ALL.
     *        
* Length Constraints: Minimum length of 1. Maximum length of 300. */ public void setPiiEntityTypes(String piiEntityTypes) { this.piiEntityTypes = piiEntityTypes; } /** *
     * Specifies the types of personally identifiable information (PII) to redact from a transcript. You can include as
     * many types as you'd like, or you can select ALL.
     * 
     * To include PiiEntityTypes in your Call Analytics request, you must also include
     * ContentIdentificationType or ContentRedactionType, but you can't include both.
     * 
     * Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER,
     * BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,
     * CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN,
     * SSN, or ALL.
     * 
* Length Constraints: Minimum length of 1. Maximum length of 300. *
* * @return Specifies the types of personally identifiable information (PII) to redact from a transcript. You can * include as many types as you'd like, or you can selectALL.
     *         
     *         To include PiiEntityTypes in your Call Analytics request, you must also include
     *         ContentIdentificationType or ContentRedactionType, but you can't include both.
     *         
     *         Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER,
     *         BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,
     *         CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE,
     *         PIN, SSN, or ALL.
     *         
* Length Constraints: Minimum length of 1. Maximum length of 300. */ public String getPiiEntityTypes() { return this.piiEntityTypes; } /** *
     * Specifies the types of personally identifiable information (PII) to redact from a transcript. You can include as
     * many types as you'd like, or you can select ALL.
     * 
     * To include PiiEntityTypes in your Call Analytics request, you must also include
     * ContentIdentificationType or ContentRedactionType, but you can't include both.
     * 
     * Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER,
     * BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,
     * CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE, PIN,
     * SSN, or ALL.
     * 
* Length Constraints: Minimum length of 1. Maximum length of 300. *
* * @param piiEntityTypes * Specifies the types of personally identifiable information (PII) to redact from a transcript. You can * include as many types as you'd like, or you can selectALL.
     *        
     *        To include PiiEntityTypes in your Call Analytics request, you must also include
     *        ContentIdentificationType or ContentRedactionType, but you can't include both.
     *        
     *        Values must be comma-separated and can include: ADDRESS, BANK_ACCOUNT_NUMBER,
     *        BANK_ROUTING, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY,
     *        CREDIT_DEBIT_NUMBER, EMAIL, NAME, PHONE,
     *        PIN, SSN, or ALL.
     *        
* Length Constraints: Minimum length of 1. Maximum length of 300. * @return Returns a reference to this object so that method calls can be chained together. */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withPiiEntityTypes(String piiEntityTypes) { setPiiEntityTypes(piiEntityTypes); return this; } /** *
     * If true, UtteranceEvents with IsPartial: true are filtered out of the insights target.
     * 
UtteranceEvents with IsPartial: true are filtered out of the insights
     *        target.
     */
    public void setFilterPartialResults(Boolean filterPartialResults) {
        this.filterPartialResults = filterPartialResults;
    }
    /**
     * 
     * If true, UtteranceEvents with IsPartial: true are filtered out of the insights target.
     * 
UtteranceEvents with IsPartial: true are filtered out of the insights
     *         target.
     */
    public Boolean getFilterPartialResults() {
        return this.filterPartialResults;
    }
    /**
     * 
     * If true, UtteranceEvents with IsPartial: true are filtered out of the insights target.
     * 
UtteranceEvents with IsPartial: true are filtered out of the insights
     *        target.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public AmazonTranscribeCallAnalyticsProcessorConfiguration withFilterPartialResults(Boolean filterPartialResults) {
        setFilterPartialResults(filterPartialResults);
        return this;
    }
    /**
     * 
     * If true, UtteranceEvents with IsPartial: true are filtered out of the insights target.
     * 
UtteranceEvents with IsPartial: true are filtered out of the insights
     *         target.
     */
    public Boolean isFilterPartialResults() {
        return this.filterPartialResults;
    }
    /**
     * * The settings for a post-call analysis task in an analytics configuration. *
* * @param postCallAnalyticsSettings * The settings for a post-call analysis task in an analytics configuration. */ public void setPostCallAnalyticsSettings(PostCallAnalyticsSettings postCallAnalyticsSettings) { this.postCallAnalyticsSettings = postCallAnalyticsSettings; } /** ** The settings for a post-call analysis task in an analytics configuration. *
* * @return The settings for a post-call analysis task in an analytics configuration. */ public PostCallAnalyticsSettings getPostCallAnalyticsSettings() { return this.postCallAnalyticsSettings; } /** ** The settings for a post-call analysis task in an analytics configuration. *
* * @param postCallAnalyticsSettings * The settings for a post-call analysis task in an analytics configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public AmazonTranscribeCallAnalyticsProcessorConfiguration withPostCallAnalyticsSettings(PostCallAnalyticsSettings postCallAnalyticsSettings) { setPostCallAnalyticsSettings(postCallAnalyticsSettings); return this; } /** *
     * By default, all CategoryEvents are sent to the insights target. If this parameter is specified, only
     * included categories are sent to the insights target.
     * 
CategoryEvents are sent to the insights target. If this parameter is
     *         specified, only included categories are sent to the insights target.
     */
    public java.util.List
     * By default, all CategoryEvents are sent to the insights target. If this parameter is specified, only
     * included categories are sent to the insights target.
     * 
CategoryEvents are sent to the insights target. If this parameter is
     *        specified, only included categories are sent to the insights target.
     */
    public void setCallAnalyticsStreamCategories(java.util.Collection
     * By default, all CategoryEvents are sent to the insights target. If this parameter is specified, only
     * included categories are sent to the insights target.
     * 
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setCallAnalyticsStreamCategories(java.util.Collection)} or * {@link #withCallAnalyticsStreamCategories(java.util.Collection)} if you want to override the existing values. *
* * @param callAnalyticsStreamCategories * By default, allCategoryEvents are sent to the insights target. If this parameter is
     *        specified, only included categories are sent to the insights target.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public AmazonTranscribeCallAnalyticsProcessorConfiguration withCallAnalyticsStreamCategories(String... callAnalyticsStreamCategories) {
        if (this.callAnalyticsStreamCategories == null) {
            setCallAnalyticsStreamCategories(new java.util.ArrayList
     * By default, all CategoryEvents are sent to the insights target. If this parameter is specified, only
     * included categories are sent to the insights target.
     * 
CategoryEvents are sent to the insights target. If this parameter is
     *        specified, only included categories are sent to the insights target.
     * @return Returns a reference to this object so that method calls can be chained together.
     */
    public AmazonTranscribeCallAnalyticsProcessorConfiguration withCallAnalyticsStreamCategories(java.util.Collection