@Generated(value="software.amazon.awssdk:codegen") public final class Item extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Item.Builder,Item>
A word or phrase 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() |
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Item.Builder> |
serializableBuilderClass() |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
ItemType |
type()
The type of the item.
|
String |
typeAsString()
The type of the item.
|
copypublic Double startTime()
The offset from the beginning of the audio stream to the beginning of the audio that resulted in the item.
public Double endTime()
The offset from the beginning of the audio stream to the end of the audio that resulted in the item.
public 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 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 String content()
The word or punctuation that was recognized in the input audio.
public Item.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Item.Builder,Item>public static Item.Builder builder()
public static Class<? extends Item.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.