@Generated(value="software.amazon.awssdk:codegen") public final class MedicalItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MedicalItem.Builder,MedicalItem>
A word, phrase, or punctuation mark that is transcribed from the input audio.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MedicalItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MedicalItem.Builder |
builder() |
Double |
confidence()
A value between 0 and 1 for an item that is a confidence score that Amazon Transcribe Medical assigns to each
word that it transcribes.
|
String |
content()
The word or punctuation mark that was recognized in the input audio.
|
Double |
endTime()
The number of seconds into an audio stream that indicates the creation time of an item.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MedicalItem.Builder> |
serializableBuilderClass() |
String |
speaker()
If speaker identification is enabled, shows the integer values that correspond to the different speakers
identified in the stream.
|
Double |
startTime()
The number of seconds into an audio stream that indicates the creation time of an item.
|
MedicalItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ItemType |
type()
The type of the item.
|
String |
typeAsString()
The type of the item.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double startTime()
The number of seconds into an audio stream that indicates the creation time of an item.
public final Double endTime()
The number of seconds into an audio stream that indicates the creation time of an item.
public final ItemType type()
The type of the item. PRONUNCIATION indicates that the item is a word that was recognized in the
input audio. PUNCTUATION indicates that the item was interpreted as a pause in the input audio, such
as a period to indicate the end of a sentence.
If the service returns an enum value that is not available in the current SDK version, type will return
ItemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PRONUNCIATION indicates that the item is a word that was recognized in
the input audio. PUNCTUATION indicates that the item was interpreted as a pause in the input
audio, such as a period to indicate the end of a sentence.ItemTypepublic final String typeAsString()
The type of the item. PRONUNCIATION indicates that the item is a word that was recognized in the
input audio. PUNCTUATION indicates that the item was interpreted as a pause in the input audio, such
as a period to indicate the end of a sentence.
If the service returns an enum value that is not available in the current SDK version, type will return
ItemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PRONUNCIATION indicates that the item is a word that was recognized in
the input audio. PUNCTUATION indicates that the item was interpreted as a pause in the input
audio, such as a period to indicate the end of a sentence.ItemTypepublic final String content()
The word or punctuation mark that was recognized in the input audio.
public final Double confidence()
A value between 0 and 1 for an item that is a confidence score that Amazon Transcribe Medical assigns to each word that it transcribes.
public final String speaker()
If speaker identification is enabled, shows the integer values that correspond to the different speakers
identified in the stream. For example, if the value of Speaker in the stream is either a
0 or a 1, that indicates that Amazon Transcribe Medical has identified two speakers in
the stream. The value of 0 corresponds to one speaker and the value of 1 corresponds to
the other speaker.
Speaker in the stream is either a
0 or a 1, that indicates that Amazon Transcribe Medical has identified two
speakers in the stream. The value of 0 corresponds to one speaker and the value of
1 corresponds to the other speaker.public MedicalItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MedicalItem.Builder,MedicalItem>public static MedicalItem.Builder builder()
public static Class<? extends MedicalItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.