Interface StartMedicalScribeStreamRequest.Builder

  • Method Details

    • sessionId

      Specify an identifier for your streaming session (in UUID format). If you don't include a SessionId in your request, Amazon Web Services HealthScribe generates an ID and returns it in the response.

      Parameters:
      sessionId - Specify an identifier for your streaming session (in UUID format). If you don't include a SessionId in your request, Amazon Web Services HealthScribe generates an ID and returns it in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • languageCode

      StartMedicalScribeStreamRequest.Builder languageCode(String languageCode)

      Specify the language code for your HealthScribe streaming session.

      Parameters:
      languageCode - Specify the language code for your HealthScribe streaming session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • languageCode

      Specify the language code for your HealthScribe streaming session.

      Parameters:
      languageCode - Specify the language code for your HealthScribe streaming session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mediaSampleRateHertz

      StartMedicalScribeStreamRequest.Builder mediaSampleRateHertz(Integer mediaSampleRateHertz)

      Specify the sample rate of the input audio (in hertz). Amazon Web Services HealthScribe supports a range from 16,000 Hz to 48,000 Hz. The sample rate you specify must match that of your audio.

      Parameters:
      mediaSampleRateHertz - Specify the sample rate of the input audio (in hertz). Amazon Web Services HealthScribe supports a range from 16,000 Hz to 48,000 Hz. The sample rate you specify must match that of your audio.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mediaEncoding

      StartMedicalScribeStreamRequest.Builder mediaEncoding(String mediaEncoding)

      Specify the encoding used for the input audio.

      Supported formats are:

      • FLAC

      • OPUS-encoded audio in an Ogg container

      • PCM (only signed 16-bit little-endian audio formats, which does not include WAV)

      For more information, see Media formats.

      Parameters:
      mediaEncoding - Specify the encoding used for the input audio.

      Supported formats are:

      • FLAC

      • OPUS-encoded audio in an Ogg container

      • PCM (only signed 16-bit little-endian audio formats, which does not include WAV)

      For more information, see Media formats.

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

      Specify the encoding used for the input audio.

      Supported formats are:

      • FLAC

      • OPUS-encoded audio in an Ogg container

      • PCM (only signed 16-bit little-endian audio formats, which does not include WAV)

      For more information, see Media formats.

      Parameters:
      mediaEncoding - Specify the encoding used for the input audio.

      Supported formats are:

      • FLAC

      • OPUS-encoded audio in an Ogg container

      • PCM (only signed 16-bit little-endian audio formats, which does not include WAV)

      For more information, see Media formats.

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

      StartMedicalScribeStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.