Interface StartStreamTranscriptionResponse.Builder

    • Method Detail

      • requestId

        StartStreamTranscriptionResponse.Builder requestId​(String requestId)

        Provides the identifier for your streaming request.

        Parameters:
        requestId - Provides the identifier for your streaming request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageCode

        StartStreamTranscriptionResponse.Builder languageCode​(String languageCode)

        Provides the language code that you specified in your request.

        Parameters:
        languageCode - Provides the language code that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • languageCode

        StartStreamTranscriptionResponse.Builder languageCode​(LanguageCode languageCode)

        Provides the language code that you specified in your request.

        Parameters:
        languageCode - Provides the language code that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • mediaSampleRateHertz

        StartStreamTranscriptionResponse.Builder mediaSampleRateHertz​(Integer mediaSampleRateHertz)

        Provides the sample rate that you specified in your request.

        Parameters:
        mediaSampleRateHertz - Provides the sample rate that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mediaEncoding

        StartStreamTranscriptionResponse.Builder mediaEncoding​(String mediaEncoding)

        Provides the media encoding you specified in your request.

        Parameters:
        mediaEncoding - Provides the media encoding you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MediaEncoding, MediaEncoding
      • vocabularyName

        StartStreamTranscriptionResponse.Builder vocabularyName​(String vocabularyName)

        Provides the name of the custom vocabulary that you specified in your request.

        Parameters:
        vocabularyName - Provides the name of the custom vocabulary that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionId

        StartStreamTranscriptionResponse.Builder sessionId​(String sessionId)

        Provides the identifier for your transcription session.

        Parameters:
        sessionId - Provides the identifier for your transcription session.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vocabularyFilterName

        StartStreamTranscriptionResponse.Builder vocabularyFilterName​(String vocabularyFilterName)

        Provides the name of the custom vocabulary filter that you specified in your request.

        Parameters:
        vocabularyFilterName - Provides the name of the custom vocabulary filter that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • showSpeakerLabel

        StartStreamTranscriptionResponse.Builder showSpeakerLabel​(Boolean showSpeakerLabel)

        Shows whether speaker partitioning was enabled for your transcription.

        Parameters:
        showSpeakerLabel - Shows whether speaker partitioning was enabled for your transcription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enableChannelIdentification

        StartStreamTranscriptionResponse.Builder enableChannelIdentification​(Boolean enableChannelIdentification)

        Shows whether channel identification was enabled for your transcription.

        Parameters:
        enableChannelIdentification - Shows whether channel identification was enabled for your transcription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberOfChannels

        StartStreamTranscriptionResponse.Builder numberOfChannels​(Integer numberOfChannels)

        Provides the number of channels that you specified in your request.

        Parameters:
        numberOfChannels - Provides the number of channels that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enablePartialResultsStabilization

        StartStreamTranscriptionResponse.Builder enablePartialResultsStabilization​(Boolean enablePartialResultsStabilization)

        Shows whether partial results stabilization was enabled for your transcription.

        Parameters:
        enablePartialResultsStabilization - Shows whether partial results stabilization was enabled for your transcription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentRedactionType

        StartStreamTranscriptionResponse.Builder contentRedactionType​(String contentRedactionType)

        Shows whether content redaction was enabled for your transcription.

        Parameters:
        contentRedactionType - Shows whether content redaction was enabled for your transcription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContentRedactionType, ContentRedactionType
      • piiEntityTypes

        StartStreamTranscriptionResponse.Builder piiEntityTypes​(String piiEntityTypes)

        Lists the PII entity types you specified in your request.

        Parameters:
        piiEntityTypes - Lists the PII entity types you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageModelName

        StartStreamTranscriptionResponse.Builder languageModelName​(String languageModelName)

        Provides the name of the custom language model that you specified in your request.

        Parameters:
        languageModelName - Provides the name of the custom language model that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • identifyLanguage

        StartStreamTranscriptionResponse.Builder identifyLanguage​(Boolean identifyLanguage)

        Shows whether automatic language identification was enabled for your transcription.

        Parameters:
        identifyLanguage - Shows whether automatic language identification was enabled for your transcription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageOptions

        StartStreamTranscriptionResponse.Builder languageOptions​(String languageOptions)

        Provides the language codes that you specified in your request.

        Parameters:
        languageOptions - Provides the language codes that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preferredLanguage

        StartStreamTranscriptionResponse.Builder preferredLanguage​(String preferredLanguage)

        Provides the preferred language that you specified in your request.

        Parameters:
        preferredLanguage - Provides the preferred language that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • preferredLanguage

        StartStreamTranscriptionResponse.Builder preferredLanguage​(LanguageCode preferredLanguage)

        Provides the preferred language that you specified in your request.

        Parameters:
        preferredLanguage - Provides the preferred language that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • identifyMultipleLanguages

        StartStreamTranscriptionResponse.Builder identifyMultipleLanguages​(Boolean identifyMultipleLanguages)

        Shows whether automatic multi-language identification was enabled for your transcription.

        Parameters:
        identifyMultipleLanguages - Shows whether automatic multi-language identification was enabled for your transcription.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vocabularyNames

        StartStreamTranscriptionResponse.Builder vocabularyNames​(String vocabularyNames)

        Provides the names of the custom vocabularies that you specified in your request.

        Parameters:
        vocabularyNames - Provides the names of the custom vocabularies that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vocabularyFilterNames

        StartStreamTranscriptionResponse.Builder vocabularyFilterNames​(String vocabularyFilterNames)

        Provides the names of the custom vocabulary filters that you specified in your request.

        Parameters:
        vocabularyFilterNames - Provides the names of the custom vocabulary filters that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.