@Generated(value="software.amazon.awssdk:codegen") public final class Item extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Item.Builder,Item>
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 |
Item.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Item.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 Item.Builder> |
serializableBuilderClass() |
String |
speaker()
If speaker partitioning is enabled,
Speaker labels the speaker of the specified item. |
Boolean |
stable()
If partial result stabilization is enabled,
Stable indicates whether the specified item is stable (
true) or if it may change when the segment is complete (false). |
Double |
startTime()
The start time, in milliseconds, of the transcribed item.
|
Item.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.
|
Boolean |
vocabularyFilterMatch()
Indicates whether the specified item matches a word in the vocabulary filter included in your request.
|
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 Boolean vocabularyFilterMatch()
Indicates whether the specified item matches a word in the vocabulary filter included in your request. If
true, there is a vocabulary filter match.
true, there is a vocabulary filter match.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 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 Boolean stable()
If partial result stabilization is enabled, Stable indicates whether the specified item is stable (
true) or if it may change when the segment is complete (false).
Stable indicates whether the specified item is
stable (true) or if it may change when the segment is complete (false).public Item.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Item.Builder,Item>public static Item.Builder builder()
public static Class<? extends Item.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.