public Channel withMode(ChannelMode mode) {
        this.mode = mode.toString();
        return this;
    }
<p>
The mode of the channel.
</p>

@param mode
       The mode of the channel.
@return Returns a reference to this object so that method calls can be chained together.
@see ChannelMode
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/Channel.java