public static interface Item.Builder extends SdkPojo, CopyableBuilder<Item.Builder,Item>
Modifier and Type | Method and Description |
---|---|
Item.Builder |
content(String content)
The word or punctuation that was recognized in the input audio.
|
Item.Builder |
endTime(Double endTime)
The offset from the beginning of the audio stream to the end of the audio that resulted in the item.
|
Item.Builder |
startTime(Double startTime)
The offset from the beginning of the audio stream to the beginning of the audio that resulted in the item.
|
Item.Builder |
type(ItemType type)
The type of the item.
|
Item.Builder |
type(String type)
The type of the item.
|
copy
applyMutation, build
Item.Builder startTime(Double startTime)
The offset from the beginning of the audio stream to the beginning of the audio that resulted in the item.
startTime
- The offset from the beginning of the audio stream to the beginning of the audio that resulted in the
item.Item.Builder endTime(Double endTime)
The offset from the beginning of the audio stream to the end of the audio that resulted in the item.
endTime
- The offset from the beginning of the audio stream to the end of the audio that resulted in the item.Item.Builder type(String 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.
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.ItemType
,
ItemType
Item.Builder type(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.
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.ItemType
,
ItemType
Item.Builder content(String content)
The word or punctuation that was recognized in the input audio.
content
- The word or punctuation that was recognized in the input audio.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.