public MedicalScribeJob withChannelDefinitions(java.util.Collection<MedicalScribeChannelDefinition> channelDefinitions) {
        setChannelDefinitions(channelDefinitions);
        return this;
    }
<p>
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 <code>ChannelId</code> of the first <code>ChannelDefinition</code> in the
list to <code>0</code> (to indicate the first channel) and <code>ParticipantRole</code> to <code>CLINICIAN</code>
(to indicate that it's the clinician speaking). Then you would set the <code>ChannelId</code> of the second
<code>ChannelDefinition</code> in the list to <code>1</code> (to indicate the second channel) and
<code>ParticipantRole</code> to <code>PATIENT</code> (to indicate that it's the patient speaking).
</p>

@param channelDefinitions
       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 <code>ChannelId</code> of the first <code>ChannelDefinition</code> in
       the list to <code>0</code> (to indicate the first channel) and <code>ParticipantRole</code> to
       <code>CLINICIAN</code> (to indicate that it's the clinician speaking). Then you would set the
       <code>ChannelId</code> of the second <code>ChannelDefinition</code> in the list to <code>1</code> (to
       indicate the second channel) and <code>ParticipantRole</code> to <code>PATIENT</code> (to indicate that
       it's the patient speaking).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJob.java