@Generated(value="software.amazon.awssdk:codegen") public final class StartMedicalStreamTranscriptionResponse extends TranscribeStreamingResponse implements ToCopyableBuilder<StartMedicalStreamTranscriptionResponse.Builder,StartMedicalStreamTranscriptionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartMedicalStreamTranscriptionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartMedicalStreamTranscriptionResponse.Builder |
builder() |
MedicalContentIdentificationType |
contentIdentificationType()
If the value is
PHI, indicates that you've configured your stream to identify personal health
information. |
String |
contentIdentificationTypeAsString()
If the value is
PHI, indicates that you've configured your stream to identify personal health
information. |
Boolean |
enableChannelIdentification()
Shows whether channel identification has been enabled in the stream.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LanguageCode |
languageCode()
The language code for the response transcript.
|
String |
languageCodeAsString()
The language code for the response transcript.
|
MediaEncoding |
mediaEncoding()
The encoding used for the input audio stream.
|
String |
mediaEncodingAsString()
The encoding used for the input audio stream.
|
Integer |
mediaSampleRateHertz()
The sample rate of the input audio, in Hertz (Hz).
|
Integer |
numberOfChannels()
The number of channels identified in the stream.
|
String |
requestId()
An identifier for the streaming transcription.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartMedicalStreamTranscriptionResponse.Builder> |
serializableBuilderClass() |
String |
sessionId()
Optional.
|
Boolean |
showSpeakerLabel()
Shows whether speaker identification was enabled in the stream.
|
Specialty |
specialty()
The specialty in the medical domain.
|
String |
specialtyAsString()
The specialty in the medical domain.
|
StartMedicalStreamTranscriptionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Type |
type()
The type of audio that was transcribed.
|
String |
typeAsString()
The type of audio that was transcribed.
|
String |
vocabularyName()
The name of the vocabulary used when processing the stream.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String requestId()
An identifier for the streaming transcription.
public final LanguageCode languageCode()
The language code for the response transcript. 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()
The language code for the response transcript. 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 (Hz).
public final MediaEncoding mediaEncoding()
The encoding used for the input audio stream.
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 stream.
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 vocabulary used when processing the stream.
public final Specialty specialty()
The specialty in the medical domain.
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 specialty in the medical domain.
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 audio that was transcribed.
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().
Typepublic final String typeAsString()
The type of audio that was transcribed.
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().
Typepublic final Boolean showSpeakerLabel()
Shows whether speaker identification was enabled in the 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()
Shows whether channel identification has been enabled in the stream.
public final Integer numberOfChannels()
The number of channels identified in the stream.
public final MedicalContentIdentificationType contentIdentificationType()
If the value is PHI, indicates that you've configured your stream to identify personal health
information.
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, indicates that you've configured your stream to identify personal
health information.MedicalContentIdentificationTypepublic final String contentIdentificationTypeAsString()
If the value is PHI, indicates that you've configured your stream to identify personal health
information.
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, indicates that you've configured your stream to identify personal
health information.MedicalContentIdentificationTypepublic StartMedicalStreamTranscriptionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartMedicalStreamTranscriptionResponse.Builder,StartMedicalStreamTranscriptionResponse>toBuilder in class AwsResponsepublic static StartMedicalStreamTranscriptionResponse.Builder builder()
public static Class<? extends StartMedicalStreamTranscriptionResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2022. All rights reserved.