Class MedicalScribeChannelDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.transcribestreaming.model.MedicalScribeChannelDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MedicalScribeChannelDefinition.Builder,MedicalScribeChannelDefinition>
@Generated("software.amazon.awssdk:codegen") public final class MedicalScribeChannelDefinition extends Object implements SdkPojo, Serializable, 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
ChannelIdof the firstChannelDefinitionin the list to0(to indicate the first channel) andParticipantRoletoCLINICIAN(to indicate that it's the clinician speaking). Then you would set theChannelIdof the secondChannelDefinitionin the list to1(to indicate the second channel) andParticipantRoletoPATIENT(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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMedicalScribeChannelDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MedicalScribeChannelDefinition.Builderbuilder()IntegerchannelId()Specify the audio channel you want to define.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MedicalScribeParticipantRoleparticipantRole()Specify the participant that you want to flag.StringparticipantRoleAsString()Specify the participant that you want to flag.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MedicalScribeChannelDefinition.Builder>serializableBuilderClass()MedicalScribeChannelDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
channelId
public final Integer channelId()
Specify the audio channel you want to define.
- Returns:
- Specify the audio channel you want to define.
-
participantRole
public final MedicalScribeParticipantRole 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:
MedicalScribeParticipantRole
-
participantRoleAsString
public final String 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:
MedicalScribeParticipantRole
-
toBuilder
public MedicalScribeChannelDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MedicalScribeChannelDefinition.Builder,MedicalScribeChannelDefinition>
-
builder
public static MedicalScribeChannelDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends MedicalScribeChannelDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-