Interface Item.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Item.Builder,Item>,SdkBuilder<Item.Builder,Item>,SdkPojo
- Enclosing class:
- Item
@Mutable @NotThreadSafe public static interface Item.Builder extends SdkPojo, CopyableBuilder<Item.Builder,Item>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Item.Builderconfidence(Double confidence)The confidence score associated with a word or phrase in your transcript.Item.Buildercontent(String content)The word or punctuation that was transcribed.Item.BuilderendTime(Double endTime)The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)Item.Builderspeaker(String speaker)If speaker partitioning is enabled,Speakerlabels the speaker of the specified item.Item.Builderstable(Boolean stable)If partial result stabilization is enabled,Stableindicates whether the specified item is stable (true) or if it may change when the segment is complete (false).Item.BuilderstartTime(Double startTime)The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)Item.Buildertype(String type)The type of item identified.Item.Buildertype(ItemType type)The type of item identified.Item.BuildervocabularyFilterMatch(Boolean vocabularyFilterMatch)Indicates whether the specified item matches a word in the vocabulary filter included in your request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
startTime
Item.Builder startTime(Double startTime)
The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
- Parameters:
startTime- The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
Item.Builder endTime(Double endTime)
The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
- Parameters:
endTime- The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Item.Builder type(String type)
The type of item identified. Options are:
PRONUNCIATION(spoken words) andPUNCTUATION.
-
type
Item.Builder type(ItemType type)
The type of item identified. Options are:
PRONUNCIATION(spoken words) andPUNCTUATION.
-
content
Item.Builder content(String content)
The word or punctuation that was transcribed.
- Parameters:
content- The word or punctuation that was transcribed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vocabularyFilterMatch
Item.Builder vocabularyFilterMatch(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.- Parameters:
vocabularyFilterMatch- Indicates whether the specified item matches a word in the vocabulary filter included in your request. Iftrue, there is a vocabulary filter match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
speaker
Item.Builder speaker(String speaker)
If speaker partitioning is enabled,
Speakerlabels the speaker of the specified item.- Parameters:
speaker- If speaker partitioning is enabled,Speakerlabels the speaker of the specified item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confidence
Item.Builder confidence(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stable
Item.Builder stable(Boolean stable)
If partial result stabilization is enabled,
Stableindicates whether the specified item is stable (true) or if it may change when the segment is complete (false).- Parameters:
stable- If partial result stabilization is enabled,Stableindicates whether the specified item is stable (true) or if it may change when the segment is complete (false).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-