Interface StartMedicalStreamTranscriptionResponse.Builder

    • Method Detail

      • requestId

        StartMedicalStreamTranscriptionResponse.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

        StartMedicalStreamTranscriptionResponse.Builder languageCode​(String languageCode)

        Provides the language code that you specified in your request. This must be en-US.

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

        StartMedicalStreamTranscriptionResponse.Builder languageCode​(LanguageCode languageCode)

        Provides the language code that you specified in your request. This must be en-US.

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

        StartMedicalStreamTranscriptionResponse.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.
      • vocabularyName

        StartMedicalStreamTranscriptionResponse.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.
      • specialty

        StartMedicalStreamTranscriptionResponse.Builder specialty​(String specialty)

        Provides the medical specialty that you specified in your request.

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

        StartMedicalStreamTranscriptionResponse.Builder specialty​(Specialty specialty)

        Provides the medical specialty that you specified in your request.

        Parameters:
        specialty - Provides the medical specialty that you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Specialty, Specialty
      • type

        StartMedicalStreamTranscriptionResponse.Builder type​(String type)

        Provides the type of audio you specified in your request.

        Parameters:
        type - Provides the type of audio you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type, Type
      • type

        StartMedicalStreamTranscriptionResponse.Builder type​(Type type)

        Provides the type of audio you specified in your request.

        Parameters:
        type - Provides the type of audio you specified in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Type, Type
      • showSpeakerLabel

        StartMedicalStreamTranscriptionResponse.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.
      • sessionId

        StartMedicalStreamTranscriptionResponse.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.
      • enableChannelIdentification

        StartMedicalStreamTranscriptionResponse.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

        StartMedicalStreamTranscriptionResponse.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.