@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()
Set this field to
PHI to identify personal health information in the transcription output. |
String |
contentIdentificationTypeAsString()
Set this field to
PHI to identify personal health information in the transcription output. |
Boolean |
enableChannelIdentification()
When
true, instructs Amazon Transcribe Medical to process each audio channel separately and then
merge the transcription output of each channel into a single transcription. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LanguageCode |
languageCode()
Indicates the source language used in the input audio stream.
|
String |
languageCodeAsString()
Indicates the source language used in the input audio stream.
|
MediaEncoding |
mediaEncoding()
The encoding used for the input audio.
|
String |
mediaEncodingAsString()
The encoding used for the input audio.
|
Integer |
mediaSampleRateHertz()
The sample rate of the input audio (in Hertz).
|
Integer |
numberOfChannels()
The number of channels that are in your audio stream.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartMedicalStreamTranscriptionRequest.Builder> |
serializableBuilderClass() |
String |
sessionId()
Optional.
|
Boolean |
showSpeakerLabel()
When
true, enables speaker identification in your real-time stream. |
Specialty |
specialty()
The medical specialty of the clinician or provider.
|
String |
specialtyAsString()
The medical specialty of the clinician or provider.
|
StartMedicalStreamTranscriptionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Type |
type()
The type of input audio.
|
String |
typeAsString()
The type of input audio.
|
String |
vocabularyName()
The name of the medical custom vocabulary to use when processing the real-time stream.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LanguageCode languageCode()
Indicates the source language used in the input audio stream. For Amazon Transcribe Medical, this is 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().
LanguageCodepublic final String languageCodeAsString()
Indicates the source language used in the input audio stream. For Amazon Transcribe Medical, this is 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().
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()
The encoding used for the input audio.
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().
MediaEncodingpublic final String mediaEncodingAsString()
The encoding used for the input audio.
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().
MediaEncodingpublic final String vocabularyName()
The name of the medical custom vocabulary to use when processing the real-time stream.
public final Specialty specialty()
The medical specialty of the clinician or provider.
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()
The medical specialty of the clinician or provider.
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()
The type of input audio. Choose DICTATION for a provider dictating patient notes. Choose
CONVERSATION for a dialogue between a patient and one or more medical professionanls.
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. Choose
CONVERSATION for a dialogue between a patient and one or more medical professionanls.Typepublic final String typeAsString()
The type of input audio. Choose DICTATION for a provider dictating patient notes. Choose
CONVERSATION for a dialogue between a patient and one or more medical professionanls.
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. Choose
CONVERSATION for a dialogue between a patient and one or more medical professionanls.Typepublic final Boolean showSpeakerLabel()
When true, enables speaker identification in your real-time stream.
true, enables speaker identification in your real-time stream.public final String sessionId()
Optional. An identifier for the transcription session. If you don't provide a session ID, Amazon Transcribe generates one for you and returns it in the response.
public final Boolean enableChannelIdentification()
When true, instructs Amazon Transcribe Medical to process each audio channel separately and then
merge the transcription output of each channel into a single transcription.
Amazon Transcribe Medical also produces a transcription of each item. An item includes the start time, end time, and any alternative transcriptions.
You can't set both ShowSpeakerLabel and EnableChannelIdentification in the same
request. If you set both, your request returns a BadRequestException.
true, instructs Amazon Transcribe Medical to process each audio channel separately and
then merge the transcription output of each channel into a single transcription.
Amazon Transcribe Medical also produces a transcription of each item. An item includes the start time, end time, and any alternative transcriptions.
You can't set both ShowSpeakerLabel and EnableChannelIdentification in the same
request. If you set both, your request returns a BadRequestException.
public final Integer numberOfChannels()
The number of channels that are in your audio stream.
public final MedicalContentIdentificationType contentIdentificationType()
Set this field to PHI to identify personal health information in the transcription output.
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().
PHI to identify personal health information in the transcription output.MedicalContentIdentificationTypepublic final String contentIdentificationTypeAsString()
Set this field to PHI to identify personal health information in the transcription output.
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().
PHI to identify personal health information in the transcription output.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 © 2022. All rights reserved.