public ChannelDefinition withParticipantRole(String participantRole) {
        setParticipantRole(participantRole);
        return this;
    }
<p>
Specifies whether the audio in a channel belongs to the <code>AGENT</code> or <code>CUSTOMER</code>.
</p>

@param participantRole
       Specifies whether the audio in a channel belongs to the <code>AGENT</code> or <code>CUSTOMER</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ParticipantRole
aws-java-sdk-chimesdkmediapipelines/src/main/java/com/amazonaws/services/chimesdkmediapipelines/model/ChannelDefinition.java