@Generated(value="software.amazon.awssdk:codegen") public final class StartMedicalStreamTranscriptionRequest extends TranscribeStreamingRequest implements ToCopyableBuilder<StartMedicalStreamTranscriptionRequest.Builder,StartMedicalStreamTranscriptionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartMedicalStreamTranscriptionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartMedicalStreamTranscriptionRequest.Builder |
builder() |
MedicalContentIdentificationType |
contentIdentificationType()
Labels all personal health information (PHI) identified in your transcript.
|
String |
contentIdentificationTypeAsString()
Labels all personal health information (PHI) identified in your transcript.
|
Boolean |
enableChannelIdentification()
Enables channel identification in multi-channel audio.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LanguageCode |
languageCode()
Specify the language code that represents the language spoken in your audio.
|
String |
languageCodeAsString()
Specify the language code that represents the language spoken in your audio.
|
MediaEncoding |
mediaEncoding()
Specify the encoding used for the input audio.
|
String |
mediaEncodingAsString()
Specify the encoding used for the input audio.
|
Integer |
mediaSampleRateHertz()
The sample rate of the input audio (in hertz).
|
Integer |
numberOfChannels()
Specify the number of channels in your audio stream.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartMedicalStreamTranscriptionRequest.Builder> |
serializableBuilderClass() |
String |
sessionId()
Specify a name for your transcription session.
|
Boolean |
showSpeakerLabel()
Enables speaker partitioning (diarization) in your transcription output.
|
Specialty |
specialty()
Specify the medical specialty contained in your audio.
|
String |
specialtyAsString()
Specify the medical specialty contained in your audio.
|
StartMedicalStreamTranscriptionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Type |
type()
Specify the type of input audio.
|
String |
typeAsString()
Specify the type of input audio.
|
String |
vocabularyName()
Specify the name of the custom vocabulary that you want to use when processing your transcription.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LanguageCode languageCode()
Specify the language code that represents the language spoken in your audio.
Amazon Transcribe Medical only supports US English (en-US).
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
Amazon Transcribe Medical only supports US English (en-US).
LanguageCodepublic final String languageCodeAsString()
Specify the language code that represents the language spoken in your audio.
Amazon Transcribe Medical only supports US English (en-US).
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
Amazon Transcribe Medical only supports US English (en-US).
LanguageCodepublic final Integer mediaSampleRateHertz()
The sample rate of the input audio (in hertz). Amazon Transcribe Medical supports a range from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must match that of your audio.
public final MediaEncoding 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.
If the service returns an enum value that is not available in the current SDK version, mediaEncoding
will return MediaEncoding.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
mediaEncodingAsString().
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.
MediaEncodingpublic final String mediaEncodingAsString()
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.
If the service returns an enum value that is not available in the current SDK version, mediaEncoding
will return MediaEncoding.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
mediaEncodingAsString().
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.
MediaEncodingpublic final String vocabularyName()
Specify the name of the custom vocabulary that you want to use when processing your transcription. Note that vocabulary names are case sensitive.
public final Specialty specialty()
Specify the medical specialty contained in your audio.
If the service returns an enum value that is not available in the current SDK version, specialty will
return Specialty.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
specialtyAsString().
Specialtypublic final String specialtyAsString()
Specify the medical specialty contained in your audio.
If the service returns an enum value that is not available in the current SDK version, specialty will
return Specialty.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
specialtyAsString().
Specialtypublic final Type type()
Specify the type of input audio. For example, choose DICTATION for a provider dictating patient
notes and CONVERSATION for a dialogue between a patient and a medical professional.
If the service returns an enum value that is not available in the current SDK version, type will return
Type.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DICTATION for a provider dictating
patient notes and CONVERSATION for a dialogue between a patient and a medical professional.Typepublic final String typeAsString()
Specify the type of input audio. For example, choose DICTATION for a provider dictating patient
notes and CONVERSATION for a dialogue between a patient and a medical professional.
If the service returns an enum value that is not available in the current SDK version, type will return
Type.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DICTATION for a provider dictating
patient notes and CONVERSATION for a dialogue between a patient and a medical professional.Typepublic final Boolean showSpeakerLabel()
Enables speaker partitioning (diarization) in your transcription output. Speaker partitioning labels the speech from individual speakers in your media file.
For more information, see Partitioning speakers (diarization).
For more information, see Partitioning speakers (diarization).
public final String sessionId()
Specify a name for your transcription session. If you don't include this parameter in your request, Amazon Transcribe Medical generates an ID and returns it in the response.
You can use a session ID to retry a streaming session.
You can use a session ID to retry a streaming session.
public final Boolean enableChannelIdentification()
Enables channel identification in multi-channel audio.
Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.
If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.
For more information, see Transcribing multi-channel audio.
Channel identification transcribes the audio on each channel independently, then appends the output for each channel into one transcript.
If you have multi-channel audio and do not enable channel identification, your audio is transcribed in a continuous manner and your transcript is not separated by channel.
For more information, see Transcribing multi-channel audio.
public final Integer numberOfChannels()
Specify the number of channels in your audio stream. Up to two channels are supported.
public final MedicalContentIdentificationType contentIdentificationType()
Labels all personal health information (PHI) identified in your transcript.
Content identification is performed at the segment level; PHI is flagged upon complete transcription of an audio segment.
For more information, see Identifying personal health information (PHI) in a transcription.
If the service returns an enum value that is not available in the current SDK version,
contentIdentificationType will return MedicalContentIdentificationType.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from contentIdentificationTypeAsString().
Content identification is performed at the segment level; PHI is flagged upon complete transcription of an audio segment.
For more information, see Identifying personal health information (PHI) in a transcription.
MedicalContentIdentificationTypepublic final String contentIdentificationTypeAsString()
Labels all personal health information (PHI) identified in your transcript.
Content identification is performed at the segment level; PHI is flagged upon complete transcription of an audio segment.
For more information, see Identifying personal health information (PHI) in a transcription.
If the service returns an enum value that is not available in the current SDK version,
contentIdentificationType will return MedicalContentIdentificationType.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from contentIdentificationTypeAsString().
Content identification is performed at the segment level; PHI is flagged upon complete transcription of an audio segment.
For more information, see Identifying personal health information (PHI) in a transcription.
MedicalContentIdentificationTypepublic StartMedicalStreamTranscriptionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartMedicalStreamTranscriptionRequest.Builder,StartMedicalStreamTranscriptionRequest>toBuilder in class TranscribeStreamingRequestpublic static StartMedicalStreamTranscriptionRequest.Builder builder()
public static Class<? extends StartMedicalStreamTranscriptionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.