@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 in your transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MedicalItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MedicalItem.Builder |
builder() |
Double |
confidence()
The confidence score associated with a word or phrase in your transcript.
|
String |
content()
The word or punctuation that was transcribed.
|
Double |
endTime()
The end time, in milliseconds, of the transcribed 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 partitioning is enabled,
Speaker labels the speaker of the specified item. |
Double |
startTime()
The start time, in milliseconds, of the transcribed item.
|
MedicalItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ItemType |
type()
The type of item identified.
|
String |
typeAsString()
The type of item identified.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double startTime()
The start time, in milliseconds, of the transcribed item.
public final Double endTime()
The end time, in milliseconds, of the transcribed item.
public final ItemType type()
The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.
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 (spoken words) and
PUNCTUATION.ItemTypepublic final String typeAsString()
The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.
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 (spoken words) and
PUNCTUATION.ItemTypepublic final String content()
The word or punctuation that was transcribed.
public final Double confidence()
The confidence score associated with a word or phrase in your transcript.
Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.
Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.
public final String speaker()
If speaker partitioning is enabled, Speaker labels the speaker of the specified item.
Speaker labels the speaker of the specified item.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 © 2023. All rights reserved.