@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 that is transcribed from the input audio.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Item.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Item.Builder |
builder() |
Double |
confidence()
A value between zero and one for an item that is a confidence score that Amazon Transcribe assigns to each word
or phrase that it transcribes.
|
String |
content()
The word or punctuation that was recognized in the input audio.
|
Double |
endTime()
The offset from the beginning of the audio stream to the end of the audio that resulted in the 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 identification is enabled, shows the speakers identified in the media stream.
|
Boolean |
stable()
If partial result stabilization has been enabled, indicates whether the word or phrase in the item is stable.
|
Double |
startTime()
The offset from the beginning of the audio stream to the beginning of the audio that resulted in the item.
|
Item.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.
|
Boolean |
vocabularyFilterMatch()
Indicates whether a word in the item matches a word in the vocabulary filter you've chosen for your media stream.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double startTime()
The offset from the beginning of the audio stream to the beginning of the audio that resulted in the item.
public final Double endTime()
The offset from the beginning of the audio stream to the end of the audio that resulted in the 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.
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.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.
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.ItemTypepublic final String content()
The word or punctuation that was recognized in the input audio.
public final Boolean vocabularyFilterMatch()
Indicates whether a word in the item matches a word in the vocabulary filter you've chosen for your media stream.
If true then a word in the item matches your vocabulary filter.
true then a word in the item matches your vocabulary filter.public final String speaker()
If speaker identification is enabled, shows the speakers identified in the media stream.
public final Double confidence()
A value between zero and one for an item that is a confidence score that Amazon Transcribe assigns to each word or phrase that it transcribes.
public final Boolean stable()
If partial result stabilization has been enabled, indicates whether the word or phrase in the item is stable. If
Stable is true, the result is stable.
Stable is true, the result is stable.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 © 2022. All rights reserved.