Interface MedicalItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MedicalItem.Builder,MedicalItem>,SdkBuilder<MedicalItem.Builder,MedicalItem>,SdkPojo
- Enclosing class:
- MedicalItem
@Mutable @NotThreadSafe public static interface MedicalItem.Builder extends SdkPojo, CopyableBuilder<MedicalItem.Builder,MedicalItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MedicalItem.Builderconfidence(Double confidence)The confidence score associated with a word or phrase in your transcript.MedicalItem.Buildercontent(String content)The word or punctuation that was transcribed.MedicalItem.BuilderendTime(Double endTime)The end time, in seconds, of the transcribed item.MedicalItem.Builderspeaker(String speaker)If speaker partitioning is enabled,Speakerlabels the speaker of the specified item.MedicalItem.BuilderstartTime(Double startTime)The start time, in seconds, of the transcribed item.MedicalItem.Buildertype(String type)The type of item identified.MedicalItem.Buildertype(ItemType type)The type of item identified.-
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
MedicalItem.Builder startTime(Double startTime)
The start time, in seconds, of the transcribed item.
- Parameters:
startTime- The start time, in seconds, of the transcribed item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
MedicalItem.Builder endTime(Double endTime)
The end time, in seconds, of the transcribed item.
- Parameters:
endTime- The end time, in seconds, of the transcribed item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
MedicalItem.Builder type(String type)
The type of item identified. Options are:
PRONUNCIATION(spoken words) andPUNCTUATION.
-
type
MedicalItem.Builder type(ItemType type)
The type of item identified. Options are:
PRONUNCIATION(spoken words) andPUNCTUATION.
-
content
MedicalItem.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.
-
confidence
MedicalItem.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.
-
speaker
MedicalItem.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.
-
-