Class MedicalScribeChannelDefinition
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MedicalScribeChannelDefinition.Builder,MedicalScribeChannelDefinition>
Makes it possible to specify which speaker is on which channel. For example, if the clinician is the first
participant to speak, you would set the ChannelId of the first ChannelDefinition in the
list to 0 (to indicate the first channel) and ParticipantRole to CLINICIAN (to
indicate that it's the clinician speaking). Then you would set the ChannelId of the second
ChannelDefinition in the list to 1 (to indicate the second channel) and
ParticipantRole to PATIENT (to indicate that it's the patient speaking).
If you don't specify a channel definition, HealthScribe will diarize the transcription and identify speaker roles for each speaker.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final IntegerSpecify the audio channel you want to define.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()Specify the participant that you want to flag.final StringSpecify the participant that you want to flag.static Class<? extends MedicalScribeChannelDefinition.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
channelId
Specify the audio channel you want to define.
- Returns:
- Specify the audio channel you want to define.
-
participantRole
Specify the participant that you want to flag. The allowed options are
CLINICIANandPATIENT.If the service returns an enum value that is not available in the current SDK version,
participantRolewill returnMedicalScribeParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantRoleAsString().- Returns:
- Specify the participant that you want to flag. The allowed options are
CLINICIANandPATIENT. - See Also:
-
participantRoleAsString
Specify the participant that you want to flag. The allowed options are
CLINICIANandPATIENT.If the service returns an enum value that is not available in the current SDK version,
participantRolewill returnMedicalScribeParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantRoleAsString().- Returns:
- Specify the participant that you want to flag. The allowed options are
CLINICIANandPATIENT. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MedicalScribeChannelDefinition.Builder,MedicalScribeChannelDefinition>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-